Skip to content
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

Added impl From<VCDateTime> for chrono::DateTime<Tz>. #415

Merged
merged 1 commit into from Mar 29, 2022

Conversation

vdods
Copy link
Contributor

@vdods vdods commented Mar 29, 2022

Previously there was no such conversion, and because the timestamp
attribute of VCDateTime was private, there was no reasonable way to
convert VCDateTime back into chrono::DateTime outside the crate.
This makes it so that conversions both ways exist.

Previously there was no such conversion, and because the timestamp
attribute of VCDateTime was private, there was no reasonable way to
convert VCDateTime back into chrono::DateTime<Tz> outside the crate.
This makes it so that conversions both ways exist.
Copy link
Contributor

@clehner clehner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@clehner clehner merged commit 5f7d1a7 into spruceid:main Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants