diff --git a/src/Service/Common/UtcDataService.php b/src/Service/Common/UtcDataService.php index 97cbe4f..2b7a4c8 100644 --- a/src/Service/Common/UtcDataService.php +++ b/src/Service/Common/UtcDataService.php @@ -22,7 +22,7 @@ class UtcDataService */ public static function now(): string { - $d = new DateTime(null, new DateTimeZone('UTC')); + $d = new DateTime("now", new DateTimeZone('UTC')); return $d->format("Y-m-d\TH:i:s.v\Z"); }