https://bugzilla.wikimedia.org/show_bug.cgi?id=32744
Antoine "hashar" Musso <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Unit tests |General/Unknown AssignedTo|[email protected] |[email protected]. | |org Summary|Fix unit tests broken by |Xml:dateMenu() return wrong |change in month of year |year when current month is | |december --- Comment #1 from Antoine "hashar" Musso <[email protected]> 2011-12-01 12:45:54 UTC --- 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
