angular-moment-picker
angular-moment-picker copied to clipboard
Upgrading to v0.10.1 using 'ddd' as first part of the format is breaking
I was on version .9 previously and just updated to ver 10. I was using this below to set up, and now the format is breaking when the ddd is used up front. If I remove the ddd in first part of the format criteria, works as expected.
<input class="form-control" ng-model="vm.data.startDate" placeholder="Set begin date..." moment-picker="vm.beginDate" today="false" change="vm.onBeginChange(newValue, oldValue)" format="ddd MMM D, YYYY" keyboard="true" min-view="decade" max-view="month">
I can use 'ddd' after something else in format, but just not the start.
Thanks,
I tried to add your specified format("ddd MMM D, YYYY") to the this plunkr, and it is working with v.0.10.1.
Probably something else is causing an issue ?
Ram