-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Feat: calendar:(universal/local)_time_to_system_time/1,2 #9445
base: master
Are you sure you want to change the base?
Conversation
CT Test Results 2 files 97 suites 1h 8m 33s ⏱️ Results for commit 9b34810. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
7d1f670
to
b5ead3d
Compare
b5ead3d
to
eadf47e
Compare
Resolved and squashed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the tests ran fine. Can you update the since versions as indicated? I'll merge it for inclusion in RC2 as soon as that's done. :-)
|
||
-doc(#{since => <<"OTP 28.0">>}). | ||
-doc """ | ||
Converts local time into system time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converts local time into system time. | |
Converts local time into [system time](`e:erts:time_correction.md#os-system-time`). | |
Add a link to system time definition and a new-line to only make the above part of the function summary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or is it POSIX Time that we are converting to... I always get all these time variants mixed up...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that all functions in this module assume POSIX time... You can pass it any timestamp as an input and the conversion doesn't depend on OS time, right? I think that link to OS system time would create confusion
Co-authored-by: John Högberg <john@erlang.org>
Added missing conversions.
Added proper tests. I've tried them locally with
proper
I really hope it's not too late to get it into OTP 28...
Closes #8160