diff --git a/api/src/DateTime.php b/api/src/DateTime.php index 7f2eaec8ba..51b2f71aca 100644 --- a/api/src/DateTime.php +++ b/api/src/DateTime.php @@ -497,7 +497,7 @@ class DateTime extends \DateTime $date = null; // If numeric, just let normal constructor do it - if(is_numeric($time)) + if(is_numeric($time) || is_array($time)) { return new DateTime($time); }