Fix time validation for iso date format
authoreileen <emcnaughton@wikimedia.org>
Tue, 2 Jan 2024 01:06:13 +0000 (14:06 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 2 Jan 2024 07:26:20 +0000 (20:26 +1300)
commit9761934727f2f874eade0a80dcb54dcde7689b1d
tree64e6789f0c84b429bd7c64cd32bd8e6b247a1451
parent59dcf8843a7652c6dabeba45630c513dcfb12aaf
Fix time validation for iso date format

As this is a very simple format strtotime will get it right
so we just fix our validation & simplify
CRM/Utils/Date.php
tests/phpunit/CRM/Utils/DateTest.php