Skip to content

Commit

Permalink
fix DateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Dec 23, 2022
1 parent d31b3d9 commit df4f47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhc_web/modules/lhcron/departament-availability.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$ts = time();

// Store hour as UTC for easier grouping
$date_utc = new \DateTime(null, new \DateTimeZone("UTC"));
$date_utc = new \DateTime("", new \DateTimeZone("UTC"));
$minuteData = $date_utc->format('YmdHi');
$ymd = $date_utc->format('Ymd');

Expand Down

0 comments on commit df4f47f

Please sign in to comment.