https://bugzilla.wikimedia.org/show_bug.cgi?id=54676
Web browser: ---
Bug ID: 54676
Summary: #timel:t returns wrong number of days
Product: MediaWiki
Version: 1.21.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
After an upgrade from 1.18.1 to 1.21.2 noticed some of my templates were
broken. In troubleshooting them, discovered weird behaviour of timel:t where it
wouldn't return the right number of days in a month if the date argument was
the first day of a month with 30 or 28 days in it. #time: showed no such
behaviour. Maybe something I'm doing wrong. Couldn't find a bug like it.
example output:
{{#timel:t|2013-01-01}} ▷ 31
{{#timel:t|2013-02-10}} ▷ 28
{{#timel:t|2013-02-01}} ▷
{{#timel:t|2013-Feb}} ▷ 31
--
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