Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

'show-weeks' attribute not working on popup date picker #3143

Closed
orenww opened this issue Dec 28, 2014 · 4 comments
Closed

'show-weeks' attribute not working on popup date picker #3143

orenww opened this issue Dec 28, 2014 · 4 comments

Comments

@orenww
Copy link

orenww commented Dec 28, 2014

'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

@acgentry
Copy link

Agree that it is a bug, if you need a work around, use the datepicker-options:

$scope.dateOptions = {
formatYear: 'yy',
startingDay: 1,
showWeeks: false
};

@ankit5990
Copy link
Contributor

Hi,
I have opened a PR for the fix for this issue.
Please have a look :)

@rvanbaalen
Copy link
Contributor

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.

@chrisirhc chrisirhc added this to the 0.13.0 milestone Apr 6, 2015
@pjlasl
Copy link

pjlasl commented Jul 18, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants