Use global namespace for generic call to \strtotime in MD_STD::strtotime

This commit is contained in:
Joshua Ramon Enslin 2020-08-20 14:13:49 +02:00 committed by Stefan Rohde-Enslin
parent d4b2986809
commit 7b1dc582ed

View File

@ -163,7 +163,7 @@ class MD_STD {
*/
public static function strtotime(string $datetime):int {
$output = strtotime($datetime);
$output = \strtotime($datetime);
if ($output === false) throw new MDInvalidInputDate("Invalid input date {$datetime}.");
return $output;