You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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?
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
The text was updated successfully, but these errors were encountered:
@pkozlowski-opensource That fiddle does work. I'm currently running 1.0.4 and must have missed that in the changelog when I was looking to see if it had been fixed. Thanks for the response!
I dunno, maybe I'm doing something wrong but I still get the error if I reference it using javascript, using this format: $filter('date')(date[, format]).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: