splitDateFormat
Splits the date format into objects that contain information about each part of the pattern.
Parameters
format
string | DateFormatOptions
The format string or options.
locale?
string
The optional locale id
. If not specified, the id
of the "en"
locale is used.
Returns
- The date format parts.