chrono
chrono copied to clipboard
Add from_timestamp_nanos|micros|millis functions for NaiveDateTime
- [x] Have you added yourself and the change to the changelog? (Don't worry about adding the PR number)
I have been wondering why chrono did not support this before. A lot of other systems use millis and this will ease the transition to rust for people who migrate. :pray:
@savnik I've synced fork with recent master
Thanks for working on this!
This is still failing CI and has conflicts. Please fix/rebase.
@djc updated with the latest main, all clippy checks passes
CI is still failing.
@djc I should target rust 1.32?
@djc all fixed, Is there anything else I should do?
I'll try to find time for another round of review soon -- I've been on vacation for a while.
https://github.com/chronotope/chrono/pull/906 Added these methods last december. @0xdeafbeef Thank you for your work here!
This PR can be closed.