lib/helpers/Format.php
function getDate(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'value', ['format' => null]);
      return HtmlHelper::encode(\Yii::$app->formatter->asDate($args['value'], $args['format']));
    };
  }
function getDate(): \Closure {
    return function($value, \Mustache_LambdaHelper $helper) {
      $args = $this->parseArguments($helper->render($value), 'value', ['format' => null]);
      return HtmlHelper::encode(\Yii::$app->formatter->asDate($args['value'], $args['format']));
    };
  }
function getDate ( ) : \ Closure { return function ( $ value , \ Mustache_LambdaHelper $ helper ) { $ args = $ this -> parseArguments ( $ helper -> render ( $ value ) , 'value' , [ 'format' => null ] ) ; return HtmlHelper :: encode ( \ Yii :: $ app -> formatter -> asDate ( $ args [ 'value' ] , $ args [ 'format' ] ) ) ; } ; }
Returns a helper function formatting a value as date.
@return \Closure A function formatting a value as date.
Returns a helper function formatting a value as date .