Loading repository data…
Loading repository data…
AsmanZiba / repository
Timezone Generator is a lightweight, portable toolkit designed to extract, compile, and manage timezone data from official tzdb releases. Built using Bash and Java, it offers seamless execution in Linux, Termux, and Android environments.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Timezone Generator is a fully portable tool for compiling timezone data from official tzdb sources. It uses Bash for automation and Java for compacting zoneinfo formats, and supports easy deployment in Termux, Linux, and Android (without root access).
2025b)Android Support
You can build timezone files directly in Android using Termux.
If your device is rooted, output files can be copied to:
Old Android Version 9 and lower
/system/usr/share/zoneinfo/
New Android Version 10 And Upper
/apex/com.android.tzdata/etc/tz/
⚠️ Root access is required to write to this system directory.
Use with caution and ensure backups before replacing timezone files.
🧠 Environment Support
| Platform | Status | Output Destination |
|---|---|---|
| Termux | ✅ Supported | /sdcard/TimezoneFiles |
| Linux | ✅ Supported | /usr/share/zoneinfo |
Automatic detection ensures scripts behave appropriately per environment.
💡 Customization
You can change the tzdata version by editing:
VERSION=2025b
Other options:
Note: Modify Only Version Variable. It is better not to change the other variables.
📚 References
this is script is auto detect your time zone system.
For Android
install Termux:
run
bash DetectFormat.sh
Output into /sdcard/TimezoneFiles
Example (with root):
ZoneInfo format
su -c cp /sdcard/TimezoneFiles/* /system/usr/share/zoneinfo/
TzData format
su -c cp /sdcard/TimezoneFiles/* /apex/com.android.tzdata/etc/tz
For Linux (Debian/Ubuntu):
only run
Note: Check the route to be valid.
bash DetectFormat.sh
🧑💻 Author
Developed by Asman — blending scripting precision with system-level insight.
Open to collaboration, feedback, and suggestions ✨