Currently code checks for calendar as case-sensitive lowercase. Calendar attributes attached to time variables such as "Gregorian" or "GREGORIAN" cause unknown calendar type.
Suggest either adding both first char and all char caps as matching "if" options in CalendarTypeFromString or some sort of transformation (ex: transform(strCalendar.begin(), strCalendar.end(), strCalendar.begin(), ::tolower);) prior to check.
Will leave up to lead dev to decide what fits workflow best.
Currently code checks for calendar as case-sensitive lowercase. Calendar attributes attached to time variables such as "Gregorian" or "GREGORIAN" cause unknown calendar type.
Suggest either adding both first char and all char caps as matching "if" options in CalendarTypeFromString or some sort of transformation (ex: transform(strCalendar.begin(), strCalendar.end(), strCalendar.begin(), ::tolower);) prior to check.
Will leave up to lead dev to decide what fits workflow best.