Last modified: 2013-12-02 16:26:38 UTC
Seems now it's December in UTC, the tests broke, great, huh? Commented out in r104812
When calling Xml::dateMenu() function with no year and a month (ex: Xml::dateMenu( '', 01)The behavior is a bit strange. Calling: Xml:dateMenu( '', 01) in December 2011 returns: December 2011 Xml:dateMenu( '', 02) in January 2012 returns: February 2011 I am sure the idea is to not return a date in the future when year is unspecified. So the first call above should returns December 2010, not 2011. Hence the tests are fine and Xml::dateMenu() need fixing.
What's that function *meant* to do? Its doc comment says nothing about passing empty strings in the year/month params...
Anybody knows what Xml::dateMenu() is supposed to actually do? See comment 2.