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
Pass a callback function to beforeShowDay argument
Notice that the date which is passed to the beforeShowDay callback is incorrect, it's about 6 years in the future. As a result, we cannot determine if a date should be visible or not.
In the demo, I have added console.log, which in the callback, you can check that it doesn't log the correct date.
I notice the problem doesn't happen when we comment the dayNamesShort argument.