mirror of
https://github.com/osm-search/Nominatim.git
synced 2025-01-05 11:37:27 +03:00
import time uses UTC
This commit is contained in:
parent
a960cf6b71
commit
d2a74c9bd9
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user