Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Date Filter should support ISO Dates with sub-millisecond precision #1525

@JohannesRudolph

Description

@JohannesRudolph

The docs for the date filter state that it supports ISO8601 date strings like yyyy-MM-ddTHH:mm:ss.SSSZ.

When passing a string that has a sub-millisecond component like yyyy-MM-ddTHH:mm:ss.SSSSZ (note the additional S) angular silently fails to format the date correctly.

Link to Fiddle: http://jsfiddle.net/yJddD/

Is this by design? And by the way, I think the documentation is wrong since fractional seconds are expressed with 'f' instead of 'S' according to http://de.wikipedia.org/wiki/ISO_8601

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions