时区城市列表不显示繁体中文

Signed-off-by: zhangdd_ewan <zhangdongdong50@huawei.com>
This commit is contained in:
zhangdd_ewan 2024-04-11 09:29:28 +08:00
parent 1d0fa90580
commit af9ef235d8

View File

@ -1049,6 +1049,7 @@ std::string I18nTimeZone::GetLocaleBaseName(std::string &localeStr)
return "";
}
std::string requestLocaleStr = locale.getBaseName();
requestLocaleStr = StrReplaceAll(requestLocaleStr, "_", "-");
return GetFallBack(requestLocaleStr);
}