We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bca6f1 commit 3427f35Copy full SHA for 3427f35
packages/main/src/Calendar.js
@@ -217,7 +217,7 @@ class Calendar extends UI5Element {
217
this._oMonth.minDate = this.minDate;
218
this._oMonth.maxDate = this.maxDate;
219
this._header.monthText = this._oLocaleData.getMonths("wide", this._primaryCalendarType)[this._month];
220
- this._header.yearText = oYearFormat.format(this._localDate);
+ this._header.yearText = oYearFormat.format(this._localDate, true);
221
currentMonth = this.timestamp && CalendarDate.fromTimestamp(this.timestamp * 1000).getMonth();
222
currentYear = this.timestamp && CalendarDate.fromTimestamp(this.timestamp * 1000).getYear();
223
0 commit comments