From: Brian Quinion Date: Sat, 8 Dec 2012 21:42:12 +0000 (+0000) Subject: Use Etc/UTC timezone for updates for reliability X-Git-Tag: v2.2.0~163 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/661338ff25cce922834bd9941de22713bb990a3e?hp=af8a44c4feb4142a27d920a7ae7acf955b35e746 Use Etc/UTC timezone for updates for reliability --- 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);