Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

Allow to specify the number of days to display in a month #100

Closed romanbsd closed 11 years ago

romanbsd commented 11 years ago

42 days sometimes have a complete row of out-of-month days, which wasn't looking nice in our design. I made this into a configuration option.

tagliala commented 11 years ago

what happens in months like March 2014?

image

romanbsd commented 11 years ago

Ooops... My bad. Any idea what would be the proper way of removing the whole row, if all days are out of month?

tagliala commented 11 years ago

I'm taking a look at the source code.. It would take a while, let me know if you find how.

IMHO this should be implemented dinamically (if all days in a row are out of month then hide that row) and only in popup calendars (otherwise it will shift up and down page content according to calendar height... I don't like when page content is shifted up and down)

I will close this pull request but we could keep talking