Skip Menu |

This queue is for tickets about the Date-WeekOfYear CPAN distribution.

Report information
The Basics
Id: 93599
Status: resolved
Priority: 0/
Queue: Date-WeekOfYear

People
Owner: gng [...] cpan.org
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: 1.06



Subject: Not clear what type of week number is returned
The documentation doesn't make clear whether this is supposed to return the week numbers according to ISO 8601's scheme, or some other one. If it is meant to be ISO 8601, then (a) the documentation should say that, and (b) you have a bug, where sometimes the wrong week number is returned. I wrote a script to show dates where WeekOfYear gets it wrong: https://gist.github.com/neilbowers/9408257 Cheers, Neil
Updated and now calculates ISO-8601 as default. Thanks for reporting the bug Regards Greg George On Fri Mar 07 04:20:25 2014, NEILB wrote: Show quoted text
> The documentation doesn't make clear whether this is supposed to > return the week numbers according to ISO 8601's scheme, or some other > one. > > If it is meant to be ISO 8601, then > (a) the documentation should say that, and > (b) you have a bug, where sometimes the wrong week number is > returned. > > I wrote a script to show dates where WeekOfYear gets it wrong: > > https://gist.github.com/neilbowers/9408257 > > Cheers, > Neil