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
The toggleAMPM function calls updateTime without a time, so toggling between AM/PM throws the following error: Cannot read property 'hour' of undefined
Uncaught TypeError: Cannot read property 'hour' of undefined
at Calendar.updateTime (Calendar.js:758)
at Calendar.toggleAMPM (Calendar.js:777)
at HTMLUnknownElement.callCallback (react-dom.development.js:542)
at Object.invokeGuardedCallbackDev (react-dom.development.js:581)
The toggleAMPM function calls updateTime without a time, so toggling between AM/PM throws the following error: Cannot read property 'hour' of undefined
primereact/src/components/calendar/Calendar.js
Line 821 in 09cff98
I've tested, and this happens in versions 1.4.0, 1.5.2, 1.5.3, and even in the latest 1.6.0 release candidate.
The text was updated successfully, but these errors were encountered: