From: osm@osm.rrze Date: Fri, 17 Aug 2012 20:47:12 +0000 (+0200) Subject: mixup lokale zeitzone / utc korrigiert - date wertet das Z als zeitzonenangabe im... X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?p=osmrrze.git;a=commitdiff_plain;h=216489551ea9a945047b3bcfce57578504b09cce mixup lokale zeitzone / utc korrigiert - date wertet das Z als zeitzonenangabe im textstring leider nicht aus, daher --utc als parameter noetig. --- diff --git a/scripts/munin-getdblag.sh b/scripts/munin-getdblag.sh index 7e19de1..18633d6 100755 --- a/scripts/munin-getdblag.sh +++ b/scripts/munin-getdblag.sh @@ -2,7 +2,7 @@ LASTDBUPDATE=`cat /var/www/lastdbupdate.txt` -TS2=`date '+%s' "--date=$LASTDBUPDATE"` +TS2=`date '+%s' --utc "--date=$LASTDBUPDATE"` TS1=`date '+%s'` if [ "$1" = "autoconf" ]; then