r90387 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90386‎ | r90387 | r90388 >
Date:08:32, 19 June 2011
Author:aaron
Status:ok
Tags:
Comment:
More doc typos from r90385...coding at 4AM :)
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -3412,8 +3412,8 @@
34133413 * @todo Document
34143414 * @param $seconds int|float
34153415 * @param $format String Optional, one of ("avoidseconds","avoidminutes"):
3416 - * If "avoidminutes" don't mention minutes if $seconds >= 1 hour
3417 - * If "avoidseconds" don't mention seconds/minutes if $seconds > 2 days
 3416+ * "avoidseconds" - don't mention seconds if $seconds >= 1 hour
 3417+ * "avoidminutes" - don't mention seconds/minutes if $seconds > 2 days
34183418 * @return string
34193419 */
34203420 function formatTimePeriod( $seconds, $format = false ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90385* Added (and use) $format param to formatTimePeriod() to make output less ver...aaron07:25, 19 June 2011

Status & tagging log