Skip to content

anonymousaga/TzDbLookup-micropython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython Timezone Lookup

A compact, pre-generated MicroPython-compatible timezone lookup library based on the Nayarsystems POSIX TZ database. It updates every week automatically from Nayarsystems, ensuring it is accurate. A new tag is formed on each update.

Files

  • tz_data.py: Precompiled timezone lookup table (iana → posix)
  • example.py: How to use it

Usage

  1. Upload both tz_data.py and example.py to your MicroPython board.
  2. Run example.py.
import tz_data
print(tz_data.lookup("America/New_York"))  # Example output: EST5EDT,M3.2.0,M11.1.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages