Followup r114067 rename to formatDuration to match other methods

This commit is contained in:
Sam Reed 2012-03-17 22:26:26 +00:00
parent b2134bbd0e
commit d6389e76c8

View file

@ -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,