mixup lokale zeitzone / utc korrigiert - date wertet das Z als zeitzonenangabe im...
authorosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Fri, 17 Aug 2012 20:47:12 +0000 (22:47 +0200)
committerosm@osm.rrze <osm@osm.rrze.uni-erlangen.de>
Fri, 17 Aug 2012 20:47:12 +0000 (22:47 +0200)
scripts/munin-getdblag.sh

index 7e19de156473359c5ecbdb8ba03c625f728521d0..18633d6bfda2fe855b02c1dd1bed0e81b11309e8 100755 (executable)
@@ -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
This page took 0.076436 seconds and 4 git commands to generate.