Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

import time uses UTC

  • Loading branch information...
commit d2a74c9bd95ce7ed4e9ad17a5d54bef2930b7669 1 parent a960cf6
@lonvia lonvia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  munin/nominatim_importlag
View
2  munin/nominatim_importlag
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.