From d2a74c9bd95ce7ed4e9ad17a5d54bef2930b7669 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 13 Oct 2012 09:06:26 +0200 Subject: [PATCH] import time uses UTC --- munin/nominatim_importlag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/munin/nominatim_importlag b/munin/nominatim_importlag index 8d69f3ce..a118e0b6 100755 --- a/munin/nominatim_importlag +++ b/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" -- 2.39.5