Added function yii\i18n\Formatter::asDuration()