Skip to content

Commit c0c1bc5

Browse files
committed
fix(calendarview): Fixed #6160
1 parent 900be1f commit c0c1bc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Uno.UI.RuntimeTests/IntegrationTests/common/CalendarHelper.h.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal static DateTimeOffset ConvertToDateTime(
9090
{
9191
var calendar = new Calendar
9292
{
93-
Era = era,
93+
//Era = era, -- REMOVE FOR https://github.com/unoplatform/uno/issues/6160
9494
Year = year,
9595
Month = month,
9696
Day = day,

src/Uno.UI/UI/Xaml/Controls/CalendarView/CalendarView_Partial.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ private void CopyDate(
24842484
if (copyEra)
24852485
{
24862486
// era is always valid.
2487-
m_tpCalendar.Era = era;
2487+
//m_tpCalendar.Era = era; --- FIX FOR https://github.com/unoplatform/uno/issues/6160
24882488
}
24892489

24902490
if (copyYear)

0 commit comments

Comments
 (0)