Skip to content

DatePipe doesn't allow timezone to be provided as a pipe input #9324

@natcohen

Description

@natcohen

DatePipe of Angular 2.0.0 RC2 doesn't allow to interpret date with timezone like AngularJS 1.5 does (https://docs.angularjs.org/api/ng/filter/date) as the second argument (timezone)

Angular 1 template api:

{{ date_expression | date : format : timezone}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: commonIssues related to APIs in the @angular/common packagearea: i18nIssues related to localization and internationalizationfeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions