mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-09-11 19:17:17 +03:00
import time uses UTC
This commit is contained in:
parent
a960cf6b71
commit
d2a74c9bd9
@ -21,7 +21,7 @@ if [ "$1" = "config" ]; then
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user