https://github.com/g3th/clock-for-vbox
Return time zones or run a clock in terminal using command-line arguments. Queries 'world time api'.
https://github.com/g3th/clock-for-vbox
clock python sys-argv time-zone world-time-api
Last synced: 23 days ago
JSON representation
Return time zones or run a clock in terminal using command-line arguments. Queries 'world time api'.
- Host: GitHub
- URL: https://github.com/g3th/clock-for-vbox
- Owner: g3th
- Created: 2024-02-21T02:53:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T06:40:00.000Z (over 2 years ago)
- Last Synced: 2025-03-05T00:27:36.230Z (over 1 year ago)
- Topics: clock, python, sys-argv, time-zone, world-time-api
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Clock for Virtual Box
## Get Time Zone/Clock while in a VBOX
### What?!
When using a virtual box set up with a different time-zone due to a different IP, just run this program in a terminal to:
1) Set your local time zone
2) Run a clock in your terminal to display your real location's time, if a time zone has been set
Alternatively, just display the time in your chosen time zone once.
This is particularly useful to me, since I have kali linux as my daily bare-metal system, but do most "normal user" activities (reddit, music, videos etc..) through a Virtual Box in an entirely different time zone.
### Oh...
To run:
1) Run in terminal as usual
2) Use the appropriate command-line arguments, or type ```python3 main.py --help```
3) Run the clock with ```python3 main.py --clock``` if you have a previously stored time zone.
TODO:
Clock display formatting.