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.

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!

'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}}',

MediaWiki-CodeReview mailing list