mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 23:10:40 +00:00
ICU-11987 Apply patch for TZ detection
X-SVN-Rev: 38093
This commit is contained in:
parent
83732e4bec
commit
d0ed7b3b60
1 changed files with 4 additions and 0 deletions
|
@ -1000,6 +1000,10 @@ uprv_tzname(int n)
|
|||
&& uprv_strcmp(tzid, TZ_ENV_CHECK) != 0
|
||||
#endif
|
||||
) {
|
||||
/* The colon forces tzset() to treat the remainder as zoneinfo path */
|
||||
if (tzid[0] == ':') {
|
||||
tzid++;
|
||||
}
|
||||
/* This might be a good Olson ID. */
|
||||
skipZoneIDPrefix(&tzid);
|
||||
return tzid;
|
||||
|
|
Loading…
Add table
Reference in a new issue