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

fix: follow the behavior of std for duration_since about panicking #24

Merged

Conversation

BugenZhao
Copy link
Contributor

@BugenZhao BugenZhao commented Aug 15, 2022

Signed-off-by: Bugen Zhao [email protected]

This PR makes the duration_since and Sub follow the current behavior of the standard library of whether to panic on time going backward.

@zhongzc
Copy link
Contributor

zhongzc commented Aug 16, 2022

@BugenZhao 0.1.2 has been released and includes your patch!

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