Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for microseconds & optional timestamps serde serialization for NaiveDateTime #664

Merged
merged 2 commits into from
Mar 24, 2022
Merged

Add support for microseconds & optional timestamps serde serialization for NaiveDateTime #664

merged 2 commits into from
Mar 24, 2022

Conversation

nickelc
Copy link
Contributor

@nickelc nickelc commented Mar 23, 2022

This PR brings the naive::datetime::serde module on par with the datetime::serde module.

nickelc added 2 commits March 23, 2022 22:19
- `naive::serde::ts_nanoseconds_option`
- `naive::serde::ts_microseconds_option`
- `naive::serde::ts_milliseconds_option`
- `naive::serde::ts_seconds_option`
@djc
Copy link
Member

djc commented Mar 23, 2022

The changes look okay to me, but I notice there isn't any test coverage. Could you write some basic tests that cover the code added here?

@nickelc
Copy link
Contributor Author

nickelc commented Mar 24, 2022

The code has similar doc examples as tests as the datetime::serde module.

@djc
Copy link
Member

djc commented Mar 24, 2022

Ah, sure, missed that. Thanks!

@djc djc merged commit a6bf842 into chronotope:main Mar 24, 2022
@nickelc nickelc deleted the naive/datetime/serde branch March 24, 2022 16:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants