[hobbit] bb-datepage.cgi update for 2008 ?

Henrik Stoerner henrik at hswn.dk
Mon Jan 7 18:39:48 CET 2008


On Mon, Jan 07, 2008 at 06:17:53PM +0100, Henrik Stoerner wrote:
> On Mon, Jan 07, 2008 at 10:47:46AM +0100, Frédéric Mangeant wrote:
> > I can't use availability reports with Hobbit 4.1.2p1 (but it seems the 
> > problem occurs also with your demo site) for 2008.
> >
> > When running http://xx.xx.xx.xx/hobbit-cgi/bb-datepage.sh?type=week, I can 
> > only choose from 2002 to 2007.
> 
> I think it only affects the select-by-week forms, and only until today.
> Tomorrow you should see the 2008 show up.
> 
> (It has to do with the weekly report beginning on Dec. 31st - Jan 7
> minus 7 days).

A cute little observation: The GNU people made the same "error":

$ date
Mon Jan  7 18:38:58 CET 2008
$ date "+%V %Y"
02 2008
$ date "+%V %Y" --date="7 days ago"
01 2007


Regards,
Henrik




More information about the Xymon mailing list