Conversation
- Updated IANA tz db to 2019c - Updated list of major cities from wikipedia - Updated list of Android timezones - Convert code to python3 - Updated zones.h/zones.c
- Add more type annotations - Add docstrings to some functions - Use f-strings in compile_tzlinks.py
Example shows how to get true local time from UTC time
There is no need to run the example_strip_historical.py script, as the historical data stripping is done in the `generate_zones.py` script
|
hey @josmithua! this is awesome, thanks so much for the PR. I will try to review this soon. I am quite curious about your use case if you can share any information. would it be helpful to start versioning this library? ( e.g. create a branch off master called v0.1 once this is merged in ) I have some small but breaking API changes in another branch that were needed in order to create a rust wrapper. |
|
Hi @evq, glad to be able to contribute. Thanks for creating utz! We are using utz on our embedded touchscreen device to calculate/display local time based on a user selected time zone, pretty much like the second example that I added ( Versioning using semver and creating/tagging releases would be great. Feel free to merge your breaking changes in to a new version. If they're small I'm sure we could merge them into our project easy enough. |
|
bump :) |
Uh oh!
There was an error while loading. Please reload this page.