Use global namespace for generic call to \strtotime in MD_STD::strtotime
This commit is contained in:
parent
d4b2986809
commit
7b1dc582ed
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user