We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d329340 commit d8e92ebCopy full SHA for d8e92eb
src/Util.php
@@ -72,7 +72,7 @@ public static function getTimestamp() {
72
$microseconds = sprintf('%06d', ($time - floor($time)) * 1000000);
73
$millseconds = round($microseconds, -3)/1000;
74
$millsecondsStr = str_pad($millseconds, 3, '0', STR_PAD_LEFT);
75
- $date = (new \DateTime())->format('c');
+ $date = (new \DateTime(null, new \DateTimeZone("UTC")))->format('c');
76
77
$position = strrpos($date, '+');
78
$date = substr($date,0,$position).'.'.$millsecondsStr.substr($date,$position);
0 commit comments