-
Notifications
You must be signed in to change notification settings - Fork 59
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(stdlib): support microseconds in from_unix_timestamp #492
feat(stdlib): support microseconds in from_unix_timestamp #492
Conversation
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.
Thank you for this contribution @emikitas. This looks good.
@@ -198,6 +205,12 @@ mod tests { | |||
tdef: TypeDef::timestamp().fallible(), | |||
} | |||
|
|||
integer_microseconds { |
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.
Let's also add an example (line 74).
8235fb3
to
f300a9a
Compare
I noticed I botched one of my commit messages, so I decided to squash the commit adding the example into it and amend the commit message. |
Head branch was pushed to by a user without write access
f300a9a
to
3c6c612
Compare
Hi @emikitas, feel free to push as many commits as you need. We squash all commits before merging. However, make sure to follow https://www.conventionalcommits.org/en/v1.0.0/ for the final commit. |
* Add new Unit for UNIX timestamps - microseconds. * Support to & from UNIX timestamps in microseconds. * Minor code cleanups
3c6c612
to
eed919b
Compare
resolves #491