Skip to content

vue-i18n / general / DatetimeFormat

Type Alias: DatetimeFormat() ​

ts
type DatetimeFormat = () => object;

Datetime Format Component

Returns ​

object

$props ​

ts
$props: VNodeProps & DatetimeFormatProps & BaseFormatProps;

Remarks ​

See the following items for property about details:

CAUTION

Not supported IE, due to no support Intl.DateTimeFormat#formatToParts in IE

If you want to use it, you need to use polyfill

Vue I18n Component ​

Released under the MIT License.