angularjs - How to format weekdays in a date in angular-google-chart.js -


i went through documentation given here date format.

it says "ee or eee produce tu or tues". tried

format: "dd \n ee \n mmm"

date , month fine produces "tue" result. want result "tu" i.e. first 2 characters of week day.

can me? or suggest method achieving format.

there no ee in filters , in dateformatter of google chart api, inherited angular js filter: https://docs.angularjs.org/api/ng/filter/date

but can trim last character date string after format. dateformat = {{( string | limitto: 10 ).trim()}}


Comments