mirror of
https://gitee.com/openharmony/global_i18n
synced 2025-02-22 09:02:24 +00:00
commit
63bc1c4c2b
@ -228,7 +228,7 @@ ohos_prebuilt_etc("root_timezone_xml") {
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("timezones_xml") {
|
||||
source = "//base/global/i18n/frameworks/intl/etc/timezone/timezones.xml"
|
||||
source = "//base/global/i18n/frameworks/intl/etc/timezone/ohos_timezones.xml"
|
||||
module_install_dir = "usr/ohos_timezone/"
|
||||
part_name = "i18n"
|
||||
subsystem_name = "global"
|
||||
|
@ -44,11 +44,11 @@ using namespace OHOS::HiviewDFX;
|
||||
const char *I18nTimeZone::TIMEZONE_KEY = "persist.time.timezone";
|
||||
const char *I18nTimeZone::DEFAULT_TIMEZONE = "GMT";
|
||||
|
||||
const char *I18nTimeZone::CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/timezones.xml";
|
||||
const char *I18nTimeZone::DEVICE_CITY_TIMEZONE_DATA_PATH = "/vendor/etc/device_timezone/timezones.xml";
|
||||
const char *I18nTimeZone::CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/ohos_timezones.xml";
|
||||
const char *I18nTimeZone::DEVICE_CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/device_timezones.xml";
|
||||
const char *I18nTimeZone::DEFAULT_LOCALE = "root";
|
||||
const char *I18nTimeZone::CITY_DISPLAYNAME_PATH = "/system/usr/ohos_timezone/ohos_city_dispname/";
|
||||
const char *I18nTimeZone::DEVICE_CITY_DISPLAYNAME_PATH = "/vendor/etc/device_timezone/device_city_dispname/";
|
||||
const char *I18nTimeZone::DEVICE_CITY_DISPLAYNAME_PATH = "/system/usr/ohos_timezone/device_city_dispname/";
|
||||
|
||||
const char *I18nTimeZone::TIMEZONE_ROOT_TAG = "timezones";
|
||||
const char *I18nTimeZone::TIMEZONE_SECOND_ROOT_TAG = "timezone";
|
||||
|
Loading…
x
Reference in New Issue
Block a user