![]() | This template ( Template:Mrv) was considered for merging with Template:MRVdiscuss on 2013 June 22. The result of the discussion was "not merged". |
I think you might have figured it out by now, but days is a partial hack around for the fact that #time does not recognize that "YYYY Month Day" format used by template. It only excepts dates in the format supported by php's strtotime function. It does handle YYYY Month though, and by adding days it treats the date as adding that many days from the start of the month. Which is why the template currently bugs on the last day of the month. Hmm I wonder what would happen if minutes got used instead {{#time:Y M|2013 January 31 minutes}} yields "2013 Jan", vs {{#time:Y M|2013 January 31 days}} which yields "2013 Feb". Going to switch it to minutes. PaleAqua ( talk) 02:43, 7 June 2013 (UTC)
{{replace|{{{date}}}| |-}}
replaces the spaces with dashes which then lets #time interpret the dates correctly. I've updated the template accordingly. — Martin (
MSGJ ·
talk)
10:25, 26 May 2016 (UTC)I think this template should say “is” while the review is active, and “was” after there is a result. — SmokeyJoe ( talk) 12:05, 3 November 2019 (UTC)
![]() | This template ( Template:Mrv) was considered for merging with Template:MRVdiscuss on 2013 June 22. The result of the discussion was "not merged". |
I think you might have figured it out by now, but days is a partial hack around for the fact that #time does not recognize that "YYYY Month Day" format used by template. It only excepts dates in the format supported by php's strtotime function. It does handle YYYY Month though, and by adding days it treats the date as adding that many days from the start of the month. Which is why the template currently bugs on the last day of the month. Hmm I wonder what would happen if minutes got used instead {{#time:Y M|2013 January 31 minutes}} yields "2013 Jan", vs {{#time:Y M|2013 January 31 days}} which yields "2013 Feb". Going to switch it to minutes. PaleAqua ( talk) 02:43, 7 June 2013 (UTC)
{{replace|{{{date}}}| |-}}
replaces the spaces with dashes which then lets #time interpret the dates correctly. I've updated the template accordingly. — Martin (
MSGJ ·
talk)
10:25, 26 May 2016 (UTC)I think this template should say “is” while the review is active, and “was” after there is a result. — SmokeyJoe ( talk) 12:05, 3 November 2019 (UTC)