Remove strtotime() fallback from Date::toTimestamp()

This commit is contained in:
Giuseppe Criscione 2020-12-18 15:12:31 +01:00
parent 769242343c
commit 7e96b073f9

View File

@ -67,7 +67,7 @@ class Date
}
}
return $dateTime instanceof DateTime ? $dateTime->getTimestamp() : strtotime($date);
return $dateTime->getTimestamp();
}
/**