Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How to change whole weekly caption in Calendar component
Hi,
I'm using Vaadin 7.6.4 and tried the calendar component.
I tried to set a shorter caption for the week day by doing
calendarComponent = new Calendar();
calendarComponent.setWeeklyCaptionFormat("EEE dd.MM.");
The result was not expected because I got "Monday Mon 01.01." The string "Monday" in the caption is not coming from the formatted date.
While digging I found the place "com.vaadin.client.ui.calendar.schedule.DayToolbar.add(String, String, String, String)" at which the label is builded and it turns out that the dayName is always added to the caption label.
Right now I don't think there is a way around this.
Does anyone know a way how to remove the dayName or at least shorten the dayName.
Thanks and BR,
Michael