FormatWidth

From Get docs
< @angular/commonAngular/docs/9/api/common/formatwidth


FormatWidth

enum

String widths available for date-time formats. The specific character widths are locale-specific. Examples are given for en-US.

See also

enum FormatWidth {
  Short
  Medium
  Long
  Full
}

Members

Member Description
Short For en-US, 'M/d/yy, h:mm a'(Example:6/15/15, 9:03 AM`)
Medium For en-US, 'MMM d, y, h:mm:ss a' (Example: Jun 15, 2015, 9:03:01 AM)
Long For en-US, 'MMMM d, y, h:mm:ss a z' (Example: June 15, 2015 at 9:03:01 AM GMT+1)
Full For en-US, 'EEEE, MMMM d, y, h:mm:ss a zzzz' (Example: Monday, June 15, 2015 at 9:03:01 AM GMT+01:00)


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/common/FormatWidth