-
Notifications
You must be signed in to change notification settings - Fork 10
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
Tempo ignores UTC offset #12
Comments
IIRC there were some cross-platform compatibility issues related to |
I use Ubuntu and this code works for me:
|
tl;dr I think Fact 1: ISO8601 allows UTC offset to be formatted with Fact 2:
Fact 3: on OS X the call to
Otherwise, the 1> tempo:strptime(<<"%z">>, <<"+0300">>). % My TZ.
{ok,0.0}
2> tempo:strptime(<<"%z">>, <<"+0400">>).
{ok,-3.6e3} My guess is that |
+03:00 is not my timezone.
Also I tried timezones with and without
From my point of view, it's worth to save all data from |
The libc version used in BSD and OS X doesn't work with the nonstandard As for the original issue, I'm not yet sure how to best address it. If you have any ideas, please feel free to share them. |
strptime and strftime supports '%z' field descriptor, but:
Is it possible to expose timezone/UTC offset data?
The text was updated successfully, but these errors were encountered: