Message info
 
To:CodeReview comments list From:MediaWiki Mail Subject:[MediaWiki-CodeReview] [MediaWiki r114067]: New comment added Date:Sun, 18 Mar 2012 15:56:46 +0000
 

"Reedy" posted a comment on MediaWiki.r114067.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114067#c32290

Commit summary for MediaWiki.r114067:

adding a duration function to language that converts seconds to text

Reedy's comment:

formatTimePeriod only does days... Whereas formatDuration now does upto millenia!

<pre>
'seconds' => '{{PLURAL:$1|$1 second|$1 seconds}}',
'minutes' => '{{PLURAL:$1|$1 minute|$1 minutes}}',
'hours' => '{{PLURAL:$1|$1 hour|$1 hours}}',
'days' => '{{PLURAL:$1|$1 day|$1 days}}',
</pre>

_______________________________________________
MediaWiki-CodeReview mailing list
MediaWiki-CodeReview@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview