now data isn't so lagy show the 'real' import date

This commit is contained in:
Brian Quinion 2013-01-31 15:36:51 +00:00
parent 3852096c80
commit adcafde481

View File

@ -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']))
{