We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe the code to parse unix millis looks something like this
let nanos = ((ux_millis % 1000) * 1_000_000) as u32; let ndt = NaiveDateTime::from_timestamp(ux_millis / 1000, nanos); let ts = DateTime::<Utc>::from_utc(ndt, Utc);
can we have something like this instead?
let ndt = NaiveDateTime::from_timestamp_millis(ux_millis); let ts = DateTime::<Utc>::from_utc(ndt, Utc);
The text was updated successfully, but these errors were encountered:
Yes, would you like to submit a PR?
Sorry, something went wrong.
We already have this via #818 and #823. @wcarmon you can depend on main or 0.4.x to get this now, otherwise you'll have to wait for 0.4.23 release
0.4.23
For 0.4.23 release planning, see #850.
Thanks! I appreciate you both @esheppa & @djc
No branches or pull requests
I believe the code to parse unix millis looks something like this
can we have something like this instead?
The text was updated successfully, but these errors were encountered: