Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Time CLI

Time and timezone utilities for AI coding assistants.

Features

  • Get current time in any IANA timezone
  • Convert time between timezones
  • Automatic DST detection
  • Standalone CLI (no MCP dependency)

Installation

pip install pytz  # Python < 3.9
# or use built-in zoneinfo for Python 3.9+

Usage

CLI Commands

# Get current time
python scripts/time_cli.py get --timezone "Asia/Shanghai"

# Convert time
python scripts/time_cli.py convert --time "16:30" --from "America/New_York" --to "Asia/Tokyo"

# List timezones
python scripts/time_cli.py list --filter "America"

License

MIT