[ic] Date Widget
Dan B
db@cyclonehq.dnsalias.net
Thu, 01 Feb 2001 19:10:17 -0800
At 09:10 PM 2/1/2001 -0500, you wrote:
>Quoting Mathew Jones (mat@booksellersolutions.com):
> > Hi Dan,
> >
> > Nothing in the error logs.
> > Dont want to have to move all our clients to 4.6.1 right now.
> > I am using mysql.
> > It seems to be passing the correct month to the stats report since it
> pulls up
> > February when I select the first instance of March. Where does minivend
> pull
> > the Month Names from? Everything was fine prior to today.
>
>Bug in lib/UI/Primitive.pm. I certainly don't have that old version laying
>around, but the diff should be enough for you to figure it out.
>
>*** Primitive.pm 2000/10/14 17:47:35 1.25
>--- Primitive.pm 2001/02/02 02:09:00
>***************
>*** 647,652 ****
>--- 647,653 ----
>
> for(1 .. 12) {
> $t[4] = $_ - 1;
>+ $t[5] = 1;
> push @months, [sprintf("%02d", $_), POSIX::strftime("%B", @t)];
> }
>
>For now, I bet if you restart Interchange it goes away, and won't come
>back until at least April 1. 8-)
Ha! I knew it was a Y2k leap day bug! And you all thought I was joking. :-)
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com