mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
import time uses UTC
This commit is contained in:
@@ -21,7 +21,7 @@ if [ "$1" = "config" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
delay=`psql -d nominatim -c 'copy (select extract(epoch from now()-lastimportdate)::int from import_status) to stdout'`
|
delay=`psql -d nominatim -c "copy (select extract(epoch from timezone('utc', now())-lastimportdate)::int from import_status) to stdout"`
|
||||||
|
|
||||||
|
|
||||||
echo "age.value $delay"
|
echo "age.value $delay"
|
||||||
|
|||||||
Reference in New Issue
Block a user