[kronolith] [patch] error in weeknumber by goto-button

Chuck Hagenbuch chuck at horde.org
Sun Dec 28 20:19:46 PST 2003


Quoting Jason Rust <jrust at rustyparts.com>:

>
> > There is an error in the goto-button. The weeknumber isn't correct in the
> new
> > year. It begins with 52 instead of 1.
>
> After some research it turns out determining the week number is harder
> than it looks.  After trying several ideas I found on the web I finally
> found one which works consistently (tested several years and everything
> looks good).  This also patches open_calendar.js which had the same
> function (even though it doesn't look to be used anywhere).
>
> -Jason
>


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the kronolith mailing list