]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
remove the 2-minute offset hack from data date in HTML output
[nominatim.git] / website / search.php
index 346f5b5740a1f96380fb3518ec9b03cb7c259e1a..0dddaccec9cf2dc2a2cec98236bea128b16b4dcd 100755 (executable)
@@ -66,7 +66,7 @@ $hLog = logStart($oDB, 'search', $oGeocode->getQueryString(), $aLangPrefOrder);
 $aSearchResults = $oGeocode->lookup();
 
 if ($sOutputFormat=='html') {
-    $sDataDate = chksql($oDB->getOne("select TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1"));
+    $sDataDate = chksql($oDB->getOne("select TO_CHAR(lastimportdate,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1"));
 }
 logEnd($oDB, $hLog, sizeof($aSearchResults));