Support the time zone component
allenporter opened this issue · 2 comments
allenporter commented
Is your feature request related to a problem? Please describe.
Support parsing and encoding the time zone component. The initial version won't do any fancy date/time timezone lookups yet, but will instead just focus on getting the data model right.
Describe the solution you'd like
See https://www.rfc-editor.org/rfc/rfc5545#section-3.6.5 for implementation details
allenporter commented
At the calendar level: Need to verify that tzid is unique across timezones.
allenporter commented
For verifying tzif is working:
- Look at a known time range rule and get an interesting set of test dates / offsets to verify
- Implement a
tzinfo
implementation based on the underlying tzdata - Test original zoneinfo vs synthetic zoneinfo implementation (This is basically to confirm that the times are being implemented correctly)
- Interpret/build zoneinfo rule for forward looking rules
- May need to search for other interesting timezone record variations to know if we're implementing it right (e.g. bits set that are different from Los Angeles)