angular / latest / api / common / datepipeconfig.html

DatePipeConfig

interface

An interface that describes the date pipe configuration, which can be provided using the DATE_PIPE_DEFAULT_OPTIONS token.

interface DatePipeConfig {
  dateFormat?: string
  timezone?: string
}

See also

Properties

Property Description
dateFormat?: string
timezone?: string

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