-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Epoch formatting result is wrong #204
Labels
Milestone
Comments
Thanks, this looks like a bug.
…On Wed, Mar 1, 2023, 01:11 YizhePKU ***@***.***> wrote:
fn main() {
println!("{}", Epoch::from_str("1700-01-01T00:00:00 TAI").unwrap());
// prints 1799-12-32T00:00:00 UTC
}
The bug seems to only appear for year < 1800.
—
Reply to this email directly, view it on GitHub
<#204>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEZV2AAFEE5W3O2PCYEJBDWZ4ADVANCNFSM6AAAAAAVLW2QZU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
ChristopherRabotin
added this to the Version 3.9.0: Python usability enhancements and various bug fixes milestone
Mar 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bug seems to appear (mostly) for
year < 1800
.The text was updated successfully, but these errors were encountered: