mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
import time uses UTC
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user