Use MD_STD::strtotime() over strtotime()

This commit is contained in:
jrenslin committed 2024-05-04 01:19:52 +02:00
1 parent 63ac1b296e
commit fb1372d193
1 file changed
+1 -1
+1 -1
View File
@@ -944,7 +944,7 @@ public static function date_to_int(string $date):int {
return -1 * intval(str_replace("-", "", ltrim($date, "0-")));
}
return intval(date("Ymd", strtotime($date)));
return intval(date("Ymd", self::strtotime($date)));
}