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

impl AddAssign<Duiration> for DateTime #694

Closed
vriesk opened this issue May 17, 2022 · 3 comments
Closed

impl AddAssign<Duiration> for DateTime #694

vriesk opened this issue May 17, 2022 · 3 comments

Comments

@vriesk
Copy link

vriesk commented May 17, 2022

... so one could write:

let mut dt = chrono::Utc::now();
dt += chrono::Duration::hours(11);
@djc
Copy link
Contributor

djc commented May 17, 2022

I'd be open to a PR implementing this.

@esheppa
Copy link
Collaborator

esheppa commented Jun 25, 2022

Looks like #698 closes this. @vriesk please let me know if this doesn't satisfy your use case

@esheppa esheppa closed this as completed Jun 25, 2022
@vriesk
Copy link
Author

vriesk commented Jun 25, 2022

LGTM

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

3 participants