-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle when "DateTimeImmutable" cannot parse the given date
In some cases, "DateTimeImmutable" will throw an exception because it cannot parse the date. In those cases, we shouldn't throw an exception, but instead return a specific result that tells what happened.
- Loading branch information
1 parent
82cb05b
commit 1093ab3
Showing
2 changed files
with
23 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
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