Permalink
Browse files

import time uses UTC

  • Loading branch information...
lonvia committed Oct 13, 2012
1 parent a960cf6 commit d2a74c9bd95ce7ed4e9ad17a5d54bef2930b7669
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"

0 comments on commit d2a74c9

Please sign in to comment.