You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an issue with moment .endOf('month').
Just replace:
var lastDayOfMonth = firstDayOfMonth.clone().endOf('month');
to
var lastDayOfMonth = firstDayOfMonth.clone().add(1, 'months').subtract('days', 1);
in generateCalendar().
Here works like a charm.
I think there's a better solution, but for now this it's enough.
Hello there, thanks for reporting this. Fabiano's trick works well as a temporary workaround but it seems like this is actually an issue to do with the moment library (see moment/moment#4727).
They have a PR awaiting merge so it shouldn't be too long before this gets sorted.
when i try to select a day in november of a 2020 there are no one days to select.
The text was updated successfully, but these errors were encountered: