angular-date-dropdowns icon indicating copy to clipboard operation
angular-date-dropdowns copied to clipboard

Cannot read property 'day' of undefined

Open enceladus opened this issue 9 years ago • 2 comments

I'm using the directive exactly as described, and getting this TypeError. I'm using it within an Ionic app, which could conflict, but shouldn't.

enceladus avatar Sep 17 '15 16:09 enceladus

Getting the same using Angular v1.3.18.

"TypeError: Cannot read property 'day' of undefined at Object.checkDate (directive.js:49)"

SeanProulx avatar Sep 17 '15 20:09 SeanProulx

This will be down to your (negative offset I think) timezone. See https://github.com/rorymadden/angular-date-dropdowns/pull/17

gareththackeray avatar Oct 23 '15 16:10 gareththackeray