]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/details.php
Merge pull request #986 from mtmail/php-replace-sizeof
[nominatim.git] / website / details.php
index 4c4ce578a149151d1263b98c3dbe136e57e61495..24e8cd76a2d70217b23ca9c074f24d0bd75c4392 100755 (executable)
@@ -231,7 +231,7 @@ if ($oParams->getBool('keywords')) {
 logEnd($oDB, $hLog, 1);
 
 if ($sOutputFormat=='html') {
-    $sSQL = "SELECT TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' FROM import_status LIMIT 1";
+    $sSQL = "SELECT TO_CHAR(lastimportdate,'YYYY/MM/DD HH24:MI')||' GMT' FROM import_status LIMIT 1";
     $sDataDate = chksql($oDB->getOne($sSQL));
     $sTileURL = CONST_Map_Tile_URL;
     $sTileAttribution = CONST_Map_Tile_Attribution;