-
Notifications
You must be signed in to change notification settings - Fork 14
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
Propagation breaks down when provided times are not in UTC #9
Comments
From #8:
I believe outputs should always be in UTC for consistency. The caller can always convert it to whatever timezone they'd like. The documentation could indicate as such. |
That's reasonable. It would reduce overhead on our part and would leave the decision up to the consumer to convert to the time zone that they prefer, should they need something other than UTC. |
On the face of it, this approach seems like surprising behavior to me - if a developer calls a pure function, e.g. But the internet is strewn with DateTime vs DateTimeOffset discussions. Speaking practically, I'm happy with the proposed DateTime approach above. |
I created an extension method to safely convert to a UTC |
Discovered in #8.
The text was updated successfully, but these errors were encountered: