reverse-date

Parses diverse date strings into ISO-8601 format using Python scripts.

Updated Oct 21, 2025
One-click install
npx skills add https://github.com/christopheryeo/claude-skills --skill reverse-date
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reverse-date
Source: https://github.com/christopheryeo/claude-skills/tree/main/reverse-date
Command: npx skills add https://github.com/christopheryeo/claude-skills --skill reverse-date

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytz, python-dateutil, and includes scripts (resource) components.

What problem does it solve?

This Skill converts a wide range of human-friendly date formats into a consistent ISO date format (YYYY-MM-DD), enabling reliable data processing and archival.

Core Features & Use Cases

  • Flexible date parsing with dateutil to handle numerous input formats.
  • Standardized ISO output suitable for data pipelines, logs, and analytics.
  • Use Case: Normalize dates found in emails, CSV exports, or user input to ISO format for downstream systems.

Quick Start

Run the convert_date.py script to convert a sample date: python scripts/convert_date.py "21 Oct 2025"

Frequently Asked Questions about reverse-date

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert dates in different string formats to ISO-8601 for data normalization?▼

To convert dates to ISO-8601 for data normalization, this Skill parses diverse human-friendly string inputs like '21 Oct 2025' or '10/21/2025' and outputs a standardized YYYY-MM-DD format. It uses python-dateutil to handle flexible parsing across your data pipelines.

What date input formats does python-dateutil support for ISO date conversion?▼

Python-dateutil supports converting numerous input formats to ISO dates, handling variations such as 'October 21, 2025', '21/10/2025', and '2025-10-21'. This broad parsing capability ensures reliable date normalization from emails, CSV exports, or user inputs.

How do I parse and localize ambiguous date strings using a CLI script?▼

You can parse and localize ambiguous date strings by running the convert_date.py CLI script with your date string as an argument. The script leverages python-dateutil for parsing and pytz for timezone localization before formatting the output to ISO-8601.

Do I need pytz and python-dateutil installed to standardize dates to ISO format?▼

Yes, you need both pytz and python-dateutil installed to standardize dates to ISO format using this Skill. These Python packages provide the underlying parsing logic and timezone localization required by the convert_date.py script.

Why normalize date strings to ISO-8601 before loading into downstream analytics systems?▼

Normalizing date strings to ISO-8601 before loading into downstream analytics systems ensures consistent data processing and archival. Converting heterogeneous formats like '21 Oct 2025' into a standardized YYYY-MM-DD structure prevents parsing errors in logs and data pipelines.

Can I use this date conversion script for CSV exports and email logs?▼

Yes, you can use this date conversion script for CSV exports and email logs. It is specifically designed to normalize inconsistent human-friendly date formats found in these sources into a reliable ISO-8601 output for downstream systems.