Hello,
I have a raw date in this format:
2014-02-27 22:54:35 +0100 (a JavaScript Date() format)
I want to format the date using interpolation:
{{lastLogin | date:'EEEE, dd MMMM yyyy @ HH:mm:ss Z'}}
I get "2014-02-27 22:56:45 +0100" instead of "Thursday, 27 february 2014 @
22:56:45 +0100"
Looks like the filter has no effect...
I also used momentjs to parse the date but that doesn't give me the
desdired result.
AngularJS 1.2.6
What am I dong wrong?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.