Closed errietta closed 11 years ago
@errietta thanks for the idea and PR! I've merged it with modifications:
smartDays
option: in some cases smart days in combo may be undesired, e.g. I select 31, then select Dec.. but make a mistake and select Nov - day will be reset to 1 as there is no 31 of Nov. Option allows to disable this mode.daysInMonth()
method of moment.js
The days box would always go up to 31 days, even if the month didn't have that many. This can be confusing, so I added a function that checks how many days