Class: DateFormatter

localization~ DateFormatter

new DateFormatter(defaultLocale, localeopt, optionsopt)

Parameters:
Name Type Attributes Default Description
defaultLocale string
locale string <optional>
defaultlocale

Passed to the Intl.DateFormat constructor.

options object <optional>

Passed to the Intl.DateFormat constructor.

Implements:

Extends

  • Formatter