'show-weeks' attribute not working on popup date picker
'show-weeks' attribute not working on popup date picker.
I tried to set 'show-weeks' to false and the calendar still show number of the week.
Your example with the flag show-weeks="false"
see http://plnkr.co/edit/oERqsVEJSRSQvrbuT1iH?p=preview
Agree that it is a bug, if you need a work around, use the datepicker-options:
$scope.dateOptions = { formatYear: 'yy', startingDay: 1, showWeeks: false };
Hi, I have opened a PR for the fix for this issue. Please have a look :)
There are some API inconsistencies regarding the dateOptions and attribute options indeed. We will be looking into datepicker related issues before the 1.0 release.
I am using version 1.3.3 and showWeeks attributes still does not work. I had to use the datepicker-options attribute to make it work.