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

fix(date): parse string input as local time unless TZ is specified #1782

Merged
merged 1 commit into from
Jan 10, 2013

Conversation

IgorMinar
Copy link
Contributor

previously we were always parsing the string input as UTC which cased issues like:

{{ '2012-04-01' | date:'d MMM yyyy' }} renders as 31 Mar 2012

BREAKING CHANGE: string input without timezone info is now parsed as local time/date

Closes #847

previously we were always parsing the string input as UTC which cased issues like:

{{ '2012-04-01' | date:'d MMM yyyy' }} renders as 31 Mar 2012

BREAKING CHANGE: string input without timezone info is now parsed as local time/date

Closes angular#847
@petebacondarwin
Copy link
Member

LGTM

1 similar comment
@vojtajina
Copy link
Contributor

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

date filter backdates dates if time is not specified
3 participants