]> git.openstreetmap.org Git - nominatim.git/commitdiff
Use Etc/UTC timezone for updates for reliability
authorBrian Quinion <openstreetmap@brian.quinion.co.uk>
Sat, 8 Dec 2012 21:42:12 +0000 (21:42 +0000)
committerBrian Quinion <openstreetmap@brian.quinion.co.uk>
Sat, 8 Dec 2012 21:42:12 +0000 (21:42 +0000)
utils/update.php

index eadd385136c1f22b9d87ccfcc3a732181691c2d4..095aaa2ef578fd28a9fd0ec15c19f9f54c7cbbaa 100755 (executable)
@@ -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);