import time uses UTC

This commit is contained in:
Sarah Hoffmann 2012-10-13 09:06:26 +02:00
parent a960cf6b71
commit d2a74c9bd9

View File

@ -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"