Skip Menu |

This queue is for tickets about the Time-DayOfWeek CPAN distribution.

Report information
The Basics
Id: 33995
Status: resolved
Priority: 0/
Queue: Time-DayOfWeek

People
Owner: Pip [...] CPAN.Org
Requestors: simonyuen1999 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.2.4CCMRd5
  • 1.4.75R5ulZ
Fixed in: (no value)



Subject: One day off in between Mar 1, 2008 and Feb 28, 2009
DoW() returns 1 day off in between Mar 1, 2008 and Feb 28, 2009. I have randomly testing from 2000 to 2013, the other days seem OK. I have tested both 1.2.4 and 1.4.75 version, both have the same problem. Ex: Show quoted text
> dow 2008 2 29 # return 'Friday', OK > dow 2008 3 1 # return 'Friday', False, should be 'Saturday'. > dow 2009 2 28 # return 'Friday', False, should be 'Saturday'. > dow 2009 3 1 # return 'Sunday', OK
Fixed in Time-DayOfWeek-1.6.A6FFxZB with test && override for special-case that doesn't adhere to otherwise successful formula. -- -Pip@CPAN.Org