
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Global Time Utility (gtime) - A modern, colorful Python CLI utility for global time zone lookup, comparison, and management. It supports fuzzy search, favorites, city comparison, meeting time conversion, and a live/watch mode
A modern, colorful Python CLI utility for global time zone lookup, comparison, and management
Sick of Googling time zones every day?! Stop wasting time figuring out the time. 🕐 gtime makes it effortless to work across time zones with fuzzy search, favorites, real-time updates, and beautiful terminal output.
If gtime helps you manage time zones more efficiently, please consider giving it a ⭐ on GitHub! Your support helps us improve and motivates continued development.
⭐ Star this project • 🐛 Report issues • 💡 Request features
pip install gtime
git clone https://github.com/savitojs/gtime.git
cd gtime
pip install .
# Get the time in any city
gtime London
# Add cities to your favorites
gtime add Tokyo Singapore "New York"
# See all your favorite cities at once
gtime list
# Compare times across multiple cities
gtime compare London Tokyo Sydney
# Find the perfect meeting time
gtime meeting at "2:00 PM"
# Live monitoring mode
gtime watch
See gtime in action:
Note: Some command output may appear broken in the demo, but it works perfectly in real terminal usage
gtime toky
finds Tokyogtime add "Los Angeles" Berlin Mumbai # Add multiple cities
gtime remove Tokyo # Remove a city
gtime list # View all favorites
gtime clear # Clear all favorites
gtime compare London Tokyo "New York" # Compare specific cities
gtime compare # Compare all favorites
gtime meeting at "10:00 AM" # Convert across favorites
gtime meeting at "15:30" # 24-hour format supported
gtime meeting at "3 PM UTC" # Shows "Coordinated Universal Time (UTC)"
gtime meeting at "9:00 AM EST" # Shows "Eastern Standard Time (EST)"
gtime watch # Monitor all favorites
gtime watch London Tokyo # Watch specific cities
When you specify a timezone, gtime shows the full timezone name for clarity:
gtime meeting at "10:00 AM JST" # Shows: "Japan Standard Time (JST)"
gtime meeting at "3 PM UTC" # Shows: "Coordinated Universal Time (UTC)"
gtime meeting at "2:00 PM EST" # Shows: "Eastern Standard Time (EST)"
# Simple city lookup
gtime Paris
gtime "San Francisco"
gtime mumbai # Case insensitive
# With fuzzy matching
gtime pairs # Finds Paris
gtime newyork # Finds New York
# Build your favorite cities list
gtime add London Tokyo "San Francisco" Berlin
gtime add Mumbai # Add one more
gtime list # See your collection
# Remove cities you no longer need
gtime remove Berlin
gtime clear # Start fresh
# Compare multiple cities
gtime compare London Tokyo Sydney Mumbai
# Perfect for planning meetings
gtime meeting at "9:00 AM" # What time is 9 AM across favorites?
gtime meeting at "14:30" # 24-hour format supported
gtime meeting at "3 PM UTC" # Timezone support for global teams
# Real-time monitoring
gtime watch # Live updates every second
# Install development dependencies
pip install -r requirements.txt
# Run tests
pytest tests/
# Run performance tests
python tests/perf/profile_lookup.py
We welcome contributions! Here's how to get started:
git checkout -b feature/amazing-feature
pytest
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature
This project includes automated workflows:
This project is licensed under the MIT License - see the LICENSE file for details.
If gtime makes your life easier, please consider:
Made with ❤️ for developers working across time zones
Happy time zone management! 🌍
FAQs
Global Time Utility (gtime) - A modern, colorful Python CLI utility for global time zone lookup, comparison, and management. It supports fuzzy search, favorites, city comparison, meeting time conversion, and a live/watch mode
We found that gtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.