Hi Marc,
Your date is not a recognized date format, and does not get parsed at al.
try this:
<span ng-init="lastLogin='2014-02-27T22:54:35+0100'">
{{lastLogin | date:'EEEE, dd MMMM yyyy @ HH:mm:ss Z'}}
</span>
<br>
<span ng-init="lastLogin1='2014-02-27 22:54:35 +0100'">
{{lastLogin1 | date:'EEEE, dd MMMM yyyy @ HH:mm:ss Z'}}
</span>
And you will see the difference
Regards
Sander
--
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.