mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-29 16:04:07 +03:00
now data isn't so lagy show the 'real' import date
This commit is contained in:
parent
3852096c80
commit
adcafde481
@ -1530,7 +1530,7 @@
|
||||
if (sizeof($aSearchResults) >= $iFinalLimit) break;
|
||||
}
|
||||
|
||||
$sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate - '1 day'::interval,'YYYY/MM/DD') from import_status limit 1");
|
||||
$sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1");
|
||||
|
||||
if (isset($_GET['nearlat']) && isset($_GET['nearlon']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user