Skip to content

vue-i18n / general / DatetimeFormat

Type Alias: DatetimeFormat()

ts
type DatetimeFormat = () => object;

Vue I18n Component

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

Released under the MIT License.