mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Remove strtotime()
fallback from Date::toTimestamp()
This commit is contained in:
parent
769242343c
commit
7e96b073f9
@ -67,7 +67,7 @@ class Date
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $dateTime instanceof DateTime ? $dateTime->getTimestamp() : strtotime($date);
|
return $dateTime->getTimestamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user