From 661338ff25cce922834bd9941de22713bb990a3e Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Sat, 8 Dec 2012 21:42:12 +0000 Subject: [PATCH] Use Etc/UTC timezone for updates for reliability --- utils/update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/update.php b/utils/update.php index eadd3851..095aaa2e 100755 --- a/utils/update.php +++ b/utils/update.php @@ -67,6 +67,8 @@ // Assume osm2pgsql is in the folder above $sBasePath = dirname(dirname(__FILE__)); + date_default_timezone_set('Etc/UTC'); + $oDB =& getDB(); $aDSNInfo = DB::parseDSN(CONST_Database_DSN);