Date & Time
This allows you to display the date and/or time, can be heavily configured using Intl.DateTimeFormat.
Formatting is locale aware and will present your date in the regional format you expect, for example,
9/16/22, 3:03 PM for locale
16.09.22, 15:03 for
de. You can also specify a locale just for the datetime widget with the
locale option (see below).
Any options passed to
format are passed directly to Intl.DateTimeFormat, please reference the MDN documentation for all available options.
Valid text sizes are
A few examples,