ICU-11987 Apply patch for TZ detection
X-SVN-Rev: 38093
This commit is contained in:
parent
83732e4bec
commit
d0ed7b3b60
@ -1000,6 +1000,10 @@ uprv_tzname(int n)
|
|||||||
&& uprv_strcmp(tzid, TZ_ENV_CHECK) != 0
|
&& uprv_strcmp(tzid, TZ_ENV_CHECK) != 0
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
|
/* The colon forces tzset() to treat the remainder as zoneinfo path */
|
||||||
|
if (tzid[0] == ':') {
|
||||||
|
tzid++;
|
||||||
|
}
|
||||||
/* This might be a good Olson ID. */
|
/* This might be a good Olson ID. */
|
||||||
skipZoneIDPrefix(&tzid);
|
skipZoneIDPrefix(&tzid);
|
||||||
return tzid;
|
return tzid;
|
||||||
|
Loading…
Reference in New Issue
Block a user