-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Optionally allow Chronos conversions for timezone handling #73
Comments
This is getting useful when converting data from sources which do not use ISO. |
If you're considering optional chrono support, can you do the same for time? |
Yes, probably. I'm just not totally sure what chrono brings to the table at
the moment. What features of chrono would you consider essential to a date
and time management library?
…On Fri, Apr 15, 2022, 20:01 Michael Pfaff ***@***.***> wrote:
If you're considering optional chrono support, can you do the same for
time?
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEZV2CB5A7KBG2ZAIN6EV3VFINOFANCNFSM4P2N2SVQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
My primary use for time (I prefer time over chrono) is formatting and parsing. |
OK. Is support for the RFC 3339 something you're looking for? I just went
through the documentation of chrono and I can't tell what it does that
hifitime can't apart from an initializer using system time. Maybe I'm
missing something?
…On Sat, Apr 16, 2022, 20:35 Michael Pfaff ***@***.***> wrote:
My primary use for time (I prefer time over chrono) is formatting and
parsing.
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEZV2ATRNMEMI6MCVP6RWTVFN2HTANCNFSM4P2N2SVQ>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I don't currently have a use for hifitime where time/chrono wouldn't suffice. With that being said, if I were to use hifitime I would want to be able to parse and format RFC-3339 and get the current time from whatever system clock is available. |
Work plan:
|
Chrono-tz does not support converting a named timezone into an offset, only the other way around. Therefore, this issue cannot be completed as such. Instead, this feature had focused on correctly parsing RFC3339. |
Parsing RFC3339 (zulu and with offset) and getting the system time is now available via #149 . |
This is helpful to support human-time which isn't UTC.
The text was updated successfully, but these errors were encountered: