From b2f83424eb27e52b344ecd884224741b69f38dc7 Mon Sep 17 00:00:00 2001 From: Oliver Rahner Date: Fri, 8 Mar 2024 12:30:43 +0100 Subject: [PATCH] fixed DateTime constructor call --- src/Service/Common/UtcDataService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }