Daylight saving time and time filtering with -t

Wolfgang Barth wob at swobspace.de
Sun Mar 25 05:50:49 EDT 2007


Hi,

tonight Europe changed to daylight saving time (in Germany: from MET to
MEST). Today my scripts using ragraph are producing no output. After some
playing around, the problem seems to be filtering time with -t:

ra -r argus-2007-03-2*.log -t 2007/03/24  ...

shows only entries from 2007/03/23 ! Okay, argus and ra are of rc.39, but
in my test enviroment I get the same trouble:

(argus and ra: rc.42, latest code from friday)

ra -r argus.log -s ltime
  ...
  2007-03-25 11:34:12
  2007-03-25 11:34:12
  2007-03-25 11:34:13
  ...

ra -r argus.log -s ltime -t 2007/03/25
-> no output.

If I set the variable TZ explicitly (i.e. TZ=GMT-2), all is working as
expected. 

Wolfgang
-- 
<wob (at) swobspace de> * http://www.swobspace.de



More information about the argus mailing list