mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Workaround for missing GetCalendarSystem
This commit is contained in:
parent
00da51ac82
commit
f1bd3afbd0
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace CalculatorApp
|
|||
m_currencyTrailingDigits = NumberFormatInfo.CurrentInfo.CurrencyDecimalDigits;
|
||||
m_currencySymbolPrecedence = ~(NumberFormatInfo.CurrentInfo.CurrencyPositivePattern) & 1;
|
||||
m_resolvedName = CultureInfo.CurrentCulture.Name;
|
||||
m_calendarIdentifier = new Windows.Globalization.Calendar().GetCalendarSystem();
|
||||
m_calendarIdentifier = ""; // new Windows.Globalization.Calendar().GetCalendarSystem();
|
||||
m_firstDayOfWeek = (Windows.Globalization.DayOfWeek)CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue