Closed nabati closed 3 years ago
When setting the slotLabelFormat.hour to '2-digit', you get the correct behavior in chrome (left) but the wrong behavior in Firefox (right)
https://codesandbox.io/s/fullcalendar-react-time-formatter-xbrmu?file=/src/calendar.js
It's up to the browser how to render times, you can use use a formatting plugin for more control:
https://fullcalendar.io/docs/moment-plugin
Bug Reports
When setting the slotLabelFormat.hour to '2-digit', you get the correct behavior in chrome (left) but the wrong behavior in Firefox (right)
https://codesandbox.io/s/fullcalendar-react-time-formatter-xbrmu?file=/src/calendar.js