- Notifications
You must be signed in to change notification settings - Fork15
A time zone library for tiny embedded systems
License
evq/utz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An embedded timezone library and ~3kB tzinfo database featuring nearlyall current timezones present in the IANA timezone database.Designed for use on budget embedded systems with low program space.
The C header containing packed timezone information is generated fromthe IANA timezone database.
All historical timezone information has been pruned to save space.
A limited number of aliases are available. (by default restricted to thesame set that android uses) In cases where the alias is not available,the standard time UTC offset and abbreviation (if present) will bedisplayed.
This library is generally inflexible as it heavily relies onassumptions pertaining to timezone offset increments, abbreviationformatting, etc to make efficient use of bit packs.
The current utility library does not support parsing /packing all possible syntax of the source IANA tz database.Instead a subset corresponding to the what is needed to correctly parse
most zones is implemented.