angular.js
angular.js copied to clipboard
date filter should support string representation of days and months
e.g. Monday or Mon for days and Jan or January for months
The initial solution might be non-i18n compatible, but we should keep in mind that soon we'll need a i18n compatible version.
some examples of what we want to be able to do:
{{ someDate | date:"MON YYYY"}} -> "Jun 2004"
{{ someDate | date"MONTH YYYY}} -> "June 2004"
the same should be possible with days
There is a standardized format at : http://www.unicode.org/reports/tr35/#Date_Field_Symbol_Table
So {{ someDate | data:"EEE, MMM d, yyyy" }} -> "Wed, Jul 10, 2011"