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 still giving incorrect date #2098

@ChrisBauer

Description

@ChrisBauer

Related to #1240

This is still an issue for incomplete dates that do not include a time or timezone. (i.e. 2012-06-18). While it is the "expected behavior", when supporting multiple applications it is unwieldy and potentially troublesome to have to append something like T00:00:00Z to every date. @groner has a great solution (comment in issue #1240) - is there any chance of rolling such a filter into angular's core to fix this?

See the forked fiddle for reference: http://jsfiddle.net/5m9B7/3/

In this fiddle, both 2012-06-18 nor 2012-06-18T00:00:00 are filtered to the wrong date (06/17/2012). It's worth noting, since it was mentioned that this may be a problem in time zones east of GMT, that I am in a timezone west of GMT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions