Signify\Controllers\CSPViolationsController::normaliseDateTime
Removes the seconds from a datetime string for easier comparisons.
The datetime-local Chrome implementation doesn't include seconds, so it's easiest to just not include seconds at all so that exact matches work as expected.
Signature
protected function normaliseDateTime(
$datetime )
Parameters
$datetime
—