Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tzfile support #10

Closed
lifthrasiir opened this issue Nov 30, 2014 · 4 comments
Closed

Tzfile support #10

lifthrasiir opened this issue Nov 30, 2014 · 4 comments

Comments

@lifthrasiir
Copy link
Contributor

So that we don't have to separately ship something like pytz rely on the fragile, sometimes incorrect and unreliable OS APIs :)

@lifthrasiir lifthrasiir self-assigned this Nov 30, 2014
@lifthrasiir
Copy link
Contributor Author

Note that I do have a (local) branch with a basic tzfile handling. POSIX tz rule string seems hard to deal with though (this is a part of tzfile v3 and required for describing the future transitions).

@ehsanul
Copy link

ehsanul commented Oct 7, 2016

I'm interested in tackling this with some guidance @lifthrasiir, mainly since I need to have DST support in Chrono. Would that be ok?

And do you still have your branch with basic tzfile handling somewhere?

@lifthrasiir
Copy link
Contributor Author

lifthrasiir commented Oct 8, 2016

@ehsanul Yes, I still have a branch around; the main blocker was several edge cases around TzRule (which is a part of TzFile v3), and Chrono 0.3 (still in development, sorry :S) would have necessary changes to avoid such edge cases.

For now, though, you can make an individual type for time zones observing DST.

@pitdicker
Copy link
Collaborator

Tzif support including TzRule was added in #677.
I think it would be could if this could be extended to more timezones than just Local, but that is not what this issue is about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants