From 3dd9b3882fe2758096c6d405113095653e854687 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 16 Jun 2013 00:41:20 +0200 Subject: [PATCH] Fixed usage of date() instead of gmdate() --- wcfsetup/install/files/lib/util/CronjobUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/CronjobUtil.class.php b/wcfsetup/install/files/lib/util/CronjobUtil.class.php index 8ad1590061..ece927b94b 100644 --- a/wcfsetup/install/files/lib/util/CronjobUtil.class.php +++ b/wcfsetup/install/files/lib/util/CronjobUtil.class.php @@ -289,7 +289,7 @@ final class CronjobUtil { $addAnDay = false; // compare hour - $hour = intval(date('G', $timeBase)); + $hour = intval(gmdate('G', $timeBase)); $index = self::findKey($hour, $values['hour'], false); if ($index === false) { $index = self::findKey($hour, $values['hour']); -- 2.20.1