-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support nanosecond precision for dates
Along with several other changes: - LC_ALL is set to 'C', so 'date' is executed in the C locale. - A more useful error message is given if the received date is not in UTC. - Dates too far in the past (sufficiently before these changes were made) are rejected, as they cannot possibly be valid. - A trailing newline is required. - Invalid dates that are missing a ':' in the timezone are rejected. - A more useful error message is given if the received date is not ASCII. Previously this crashed the program with a UnicodeDecodeError.
- Loading branch information
Showing
1 changed file
with
31 additions
and
8 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