- Notifications
You must be signed in to change notification settings - Fork26
Open
Description
If the year value is larger then9999
, the parsing result is inconsistent with GNU implementation:
Input: 10000-12-31GNU: 10000-12-31 00:00:00+00:00parse_datetime: 0000-12-31 00:00:00+00:00Input: 100000-12-31GNU: 100000-12-31 00:00:00+00:00parse_datetime: 2000-12-31 00:00:00+00:00Input: 1000000-12-31GNU: 1000000-12-31 00:00:00+00:00parse_datetime: 0000-12-31 00:00:00+00:00Input: 10000000-12-31GNU: 10000000-12-31 00:00:00+00:00parse_datetime: Invalid input string: cannot be parsed as a relative timeInput: 2147485547-12-31GNU: 2147485547-12-31 00:00:00+00:00 // This is the max value supported by GNUparse_datetime: Invalid input string: cannot be parsed as a relative time
Metadata
Metadata
Assignees
Labels
No labels