This a Simple Python script allows users to enter any city and displays the current local time in that city as well as in several predefined global cities.
- New York
- California
- Chicago
- India
- UK
- Sydney
- Melbourne
- Ireland
-
Install the dependencies: pip install pytz pip install geopy pip install timezonefinder pip install pytest
-
Test command:
python -m pytest tests/test_main.py
python app/main.py