-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise an exception when timestamp is malformed
Previously, when a provided timestamp didn't match the regex format, it would be configured as `nil`. This was nonsensical since a `nil` timestamp is unusable, which allowed for subtle bugs to creep in. Instead, we should alert the user as soon as an improper timestamp is encountered by raising an informative exception. The documentation has also been updated to reflect the expectations for tiemstamp format. Fixes #140.
- Loading branch information
1 parent
b091053
commit 332f4ba
Showing
3 changed files
with
54 additions
and
19 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
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
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