]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1274757 - hourly whine being run every 15 minutes
authorDylan Hardison <dylan@mozilla.com>
Tue, 7 Jun 2016 21:01:05 +0000 (17:01 -0400)
committerDylan Hardison <dylan@mozilla.com>
Tue, 7 Jun 2016 21:01:05 +0000 (17:01 -0400)
whine.pl

index e6161cfeb4e1eece1385086751df0013b73f8112..a701d36a7e8f86c46b3ab4505dee797bd202f7c0 100755 (executable)
--- a/whine.pl
+++ b/whine.pl
@@ -608,7 +608,7 @@ sub reset_timer {
         my $next_run = $dbh->selectrow_array(
             'SELECT ' . $dbh->sql_date_math('NOW()', '+', '?', 'MINUTE'),
             undef, $minute_offset);
-        $next_run = format_time($next_run, "%Y-%m-%d %R");
+        $next_run = format_time($next_run, "%Y-%m-%d %R", "UTC");
 
         $sth = $dbh->prepare("UPDATE whine_schedules " .
                              "SET run_next = ? WHERE id = ?");