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
i'm useing tempus-dominus the first time.
I'm trying to use minDate and maxDate to display only one month, somehow January 31, 2024 cannot be selected, for other years and months it works. Maybe it happens every month that the last day cannot be selected, I don't know.
this is my minimalistic config
new tempusDominus.TempusDominus(document.getElementById('date1'),
{
restrictions: {
minDate: new Date('2024-01-01'),
maxDate: new Date('2024-01-31'),
}
}
);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i'm useing tempus-dominus the first time.
I'm trying to use minDate and maxDate to display only one month, somehow January 31, 2024 cannot be selected, for other years and months it works. Maybe it happens every month that the last day cannot be selected, I don't know.
this is my minimalistic config
also available at
https://jsfiddle.net/spf4d7b2/24/
Beta Was this translation helpful? Give feedback.
All reactions