forked from nushell/nushell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format negative datetimes with rfc3339 (nushell#9501) (nushell#9502)
- fixes nushell#9501 # Description `chrono::Datetime::to_rfc2822()` panics when it would format a negative year. 3339 does not. This makes negative-year datetimes inconsistent compared to positive ones, but it's better than a panic.
- Loading branch information
Taylor C. Richberger
committed
Jun 25, 2023
1 parent
971f9ae
commit 08449e1
Showing
1 changed file
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters