Skip to content

Conversation

asuper0
Copy link

@asuper0 asuper0 commented Apr 10, 2024

impl Duration::from_std_duration, TryFrom<std::time::Duration> for Duration, TryFrom<Duration> for std::time::Duration so they could convert to each other conveniently.

Here I limit the maximum days to 28, while I am not sure month value in a Duration were valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant