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

Improve documentation for utc_offset and std_offset fields. #10014

Merged
merged 4 commits into from May 3, 2020

Conversation

lau
Copy link
Contributor

@lau lau commented May 2, 2020

There is a good question here: https://stackoverflow.com/questions/61566269/utc-offset-in-elixir-return-incorrect-offset-for-time-zones

Both utc_offset and std_offset are used to get wall time. Some users may look at utc_offset and think that this is the total offset from UTC to get wall time even in summer time.

@josevalim josevalim merged commit 65ea09d into elixir-lang:master May 3, 2020
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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

Successfully merging this pull request may close these issues.

None yet

2 participants