Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinryin authored Mar 31, 2023
1 parent 594def2 commit 354eb33
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# ip2time (Releasing on 3/31/2023)
# ip2time
ip2time is a Python tool that automatically detects and updates your system's timezone based on your external IP address. This tool is especially useful for those who travel frequently or use VPNs, as it saves time and effort required to manually change the timezone.
- I made this program after reading https://gist.github.com/mrled/8d29fde758cfc7dd0b52f3bbf2b8f06e, and ran into the same issues myself. ip2time features a very comprehensive custom mapping of IANA timezones -> Windows timezones. Feel free to use this for any of your projects!

# Features
- Detects your external IP address.
- Provides some ping information from API calls.
- Provides your current location based on your IP.
- Determines your timezone based on your IP address.
- Updates your system's timezone automatically.
Expand All @@ -12,7 +13,7 @@ ip2time is a Python tool that automatically detects and updates your system's ti
# Usage
- If you download ip2time from the releases page - https://github.com/Shinryin/ip2time/releases/ - this is a fully standalone, compiled version of the program that runs without any dependencies. Basically, all you need to do is double click and program and RUN IT AS ADMINISTRATOR!

- To use ip2time after BUILDING it, simply run the script in your terminal or command prompt. Make sure you have the required Python packages installed (e.g., ctypes, platform, and requests). The script will then detect your external IP, determine your timezone, and update your system's timezone accordingly.
- To use ip2time after BUILDING it, simply run the script in your terminal or command prompt. Make sure you have the required Python packages installed. The script will then detect your external IP, determine your timezone, and update your system's timezone accordingly.

Requirements:
Python 3.x / ctypes, platform, and requests packages
Python 3.x / ctypes, platform, time, and requests packages

0 comments on commit 354eb33

Please sign in to comment.