mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for DateTime
This commit is contained in:
parent
6222a1386c
commit
b0c5cb3f46
@ -95,7 +95,7 @@ trait MakesDates
|
||||
|
||||
private function convertToDateObject($date)
|
||||
{
|
||||
$dt = DateTime($date);
|
||||
$dt = new DateTime($date);
|
||||
$dt->setTimezone(new DateTimeZone('UTC'));
|
||||
return $dt;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user