Sergei.Haller@math.uni-giessen.de(Sergei Haller) 01.06.05 16:22
RZ>> It seems that VDR finds the right timer, but calcutes the time RZ>> in second wrong!
the calculated time IS correct. you can use the small tool 'time' from nvram-wakeup package:
# ./time 1117634400 (time_t) 1117634400 (local time) Wed Jun 1 16:00:00 2005 (utc/gmt) Wed Jun 1 14:00:00 2005
or, if you trust 'date', use this:
# date +%s -d "Wed Jun 1 16:00:00 CEST 2005" 1117634400
I forgot to copy that test done here:
msi:~/video/nvram/nvram-wakeup# ./time 1117634400 (time_t) 1117634400 (local time) Wed Jun 1 16:00:00 2005 (utc/gmt) Wed Jun 1 14:00:00 2005
But why:
# date -d "1970-01-01 1117634400 sec CET" Wed Jun 1 15:00:00 CEST 2005 # date -d "1970-01-01 1117634400 sec CEST" Wed Jun 1 15:00:00 CEST 2005 # date -d "1970-01-01 1117634400 sec GMT" Wed Jun 1 16:00:00 CEST 2005 # date -d "1970-01-01 1117634400 sec WET" Wed Jun 1 16:00:00 CEST 2005
Rainer