-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Bug Description
Hi Stefan.
After updating FullCalendar from 6.2.2 to 6.3.1 the following things are broken:
- weekday translations are not correct anymore
- snapduration (configured as 00:05) takes no effect
- in general it seams that all options which were set initially don't work
With the same release we updated Vaadin from 24.8.1 to 24.8.6. But we reverted Vaadin an the issues persist. So the Vaadin version seems not related.
Example Code
The calendar is configured like the following:
fullCalendar.setLocale( Locale.GERMANY );
setViewType( CalendarViewImpl.TIME_GRID_WEEK );
fullCalendar.setFirstDay( DayOfWeek.MONDAY );
fullCalendar.setTimezone( Timezone.getSystem() );
The systems runs in Europe/Berlin
I also added the following:
fullCalendar.addBrowserTimezoneObtainedListener( event ->
{
logger.info( "Timezone retrieved from Client: {}", event.getTimezone() );
fullCalendar.setTimezone( event.getTimezone() );
} );
Which prints:
Timezone retrieved from Client: Timezone{clientSideValue='Europe/Berlin', zoneId=Europe/Berlin}
The day headlines should printed in german localization which was the case before the update.
Might be related to #203 where you mentioned lifecycle issues?
Afterwards at some point I transfered the element from Lit to a normal HTML Element, which led to some change in the lifecycle and init process. This broke my previous options change.
Screenshots
