Followup r114067 rename to formatDuration to match other methods
This commit is contained in:
parent
b2134bbd0e
commit
d6389e76c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1919,7 +1919,7 @@ class Language {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public function duration( $seconds, array $chosenIntervals = array( 'millennia', 'centuries', 'decades', 'years', 'days', 'hours', 'minutes', 'seconds' ) ) {
|
||||
public function formatDuration( $seconds, array $chosenIntervals = array( 'millennia', 'centuries', 'decades', 'years', 'days', 'hours', 'minutes', 'seconds' ) ) {
|
||||
$intervals = array(
|
||||
'millennia' => 1000 * 31557600,
|
||||
'centuries' => 100 * 31557600,
|
||||
|
|
|
|||
Loading…
Reference in a new issue