Presets
WARNING
These options are incompatible with date and time component options and cannot be used simultaneously.
dateStyle
The date formatting style to use. Possible values are "full", "long", "medium", and "short". These styles determine how weekday, day, month, year, and era are displayed, based on the locale.
Examples:
timeStyle
The time formatting style to use. Possible values are "full", "long", "medium", and "short". These styles define how hour, minute, second, and time zone name are displayed, based on the locale.
Examples:
"Attributions and copyright licensing" by Mozilla Contributors, licensed under CC-BY-SA 4.0.