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

Conversions for DateTime and Duration into SystemTime/Duration #27

Open
luben opened this issue Nov 21, 2022 · 1 comment
Open

Conversions for DateTime and Duration into SystemTime/Duration #27

luben opened this issue Nov 21, 2022 · 1 comment

Comments

@luben
Copy link

luben commented Nov 21, 2022

Having a way to convert into std::time structs would help, e.g.

impl From<DateTime> for std::time::SystemTime { ...}
impl From<&DateTime> for std::time::SystemTime { ...}
impl From<Duration> for std::time::Duration { ...}
impl From<&Duration> for std::time::Duration {...}
@aminalaee
Copy link
Contributor

If this is accepted, I can pick this up.

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

No branches or pull requests

2 participants