Last modified: 2011-07-24 11:39:54 UTC
On 30 December 2008, the combination CURRENTWEEK, CURRENTYEAR returns 1 and 2008. Either 1/2009 or 53/2008 would make sense, but 1/2008 does not.
Getting the same thing locally
http://bugs.php.net/bug.php?id=33957 Maybe that should be re-opened. Even gmdate( 'W', $ts ) is giving me the same bad week.
(In reply to comment #2) > http://bugs.php.net/bug.php?id=33957 > > Maybe that should be re-opened. > > Even gmdate( 'W', $ts ) is giving me the same bad week. > I meant gmdate( 'W' )
Partialy fixed in r45208 and r45209 according to http://www.php.net/manual/en/function.date.php Use {{#time:o/W}} combination instead of {{#time:Y/W}} or {{CURRENTYEAR}}/{{CURRENTWEEK}}.
Closing fixed per Danny B. Everything does what it claims to, there are just a few definitions of 'year', and we make them both available.