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
acerix
changed the title
Wrong formatting for eventTimeFormat with moment plugin
Dash between event start and end times is "undefined" with eventTimeFormat and moment plugin
Jun 16, 2020
Edit:
Found the workaround in the docs. Seems the api changed a bit:
From:
eventTimeFormat: 'HH:mm',
To:
eventTimeFormat: {
hour: '2-digit',
minute: '2-digit',
meridiem: false
},
Yeah, that definitely works. As far as I can tell, we already had to pass an object to eventTimeFormat even in v4. Though the moment plugin should add support for passing a moment date-time string instead.
Bug Reports
Version: FullCalendar v5-beta.4
I'm looking into updating the Schedule component for PrimeFaces, which uses FullCalendar. While doing so, I came across a minor issue:
eventTimeFormat
set to some value such asHH:mm:ss
timeGridDay
displays as15:38:02undefined16:08:02
(the dash between the times is missing)To Reproduce: https://codesandbox.io/s/jolly-brown-hwbvy?file=/src/DemoApp.vue (not specific to vue, also happens with a plain webpack build without a framework)
The text was updated successfully, but these errors were encountered: