-
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix out-of-range panics of Date (#1075)
* Add overflow check when fixing year, month, and day * Add timeclip * Add timeclip to `Date.UTC()` * Minor fix * Fix comment * Add more range check * Add timeclip to all date creation * Remove redundant overflow check * Fix clippy
- Loading branch information
Showing
1 changed file
with
91 additions
and
48 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