X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/88beeb79164d0fec40778678e5d93ae44b8f07d8..d23fa84471a92664431775fdfa81048180d3f359:/website/search.php diff --git a/website/search.php b/website/search.php index 346f5b57..0dddacce 100755 --- a/website/search.php +++ b/website/search.php @@ -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));