src/Helpers/Request/FormatConverter.php
public function convertDateIcuToJui($pattern, $type = 'date', $locale = null)
    {
        return $this->proxyWithLanguage(__FUNCTION__, [$pattern, $type, $locale]);
    }
public function convertDateIcuToJui($pattern, $type = 'date', $locale = null)
    {
        return $this->proxyWithLanguage(__FUNCTION__, [$pattern, $type, $locale]);
    }
Converts a date format pattern from [ICU format][] to [jQuery UI date format][].

Pattern constructs that are not supported by the jQuery UI format will be removed.

[jQuery UI date format]: http://api.jqueryui.com/datepicker/#utility-formatDate
[ICU format]: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax

@param string $pattern date format pattern in ICU format.
@param string $type 'date', 'time', or 'datetime'.
@param string $locale the locale to use for converting ICU short patterns `short`, `medium`, `long` and `full`.
If not given, `Reaction::$app->language` will be used.
@return string The converted date format pattern.
@see \Reaction\Helpers\FormatConverter::convertDateIcuToJui()