]> git.mxchange.org Git - friendica.git/commit
Only call DateTimeFormat::fix() when there's an Exception
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 9 Oct 2022 04:23:09 +0000 (00:23 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 9 Oct 2022 13:34:30 +0000 (09:34 -0400)
commitbee6506d330b687debcdeab583c10c1069e7e372
treed0f7defd667fbb788959edb9f1ebf249f002a4e6
parentb5ad8c3e153976cf3e63753597377f09852d98d7
Only call DateTimeFormat::fix() when there's an Exception

- This prevents valid date/time strings to be mangled by fix()
src/Util/DateTimeFormat.php
tests/src/Util/DateTimeFormatTest.php