Improve timezone names returned by POSIX functions.
* Use TimeZone::SHORT specifier instead of SHORT_COMMONLY_USED, since the former yields more appropriate (textual) values. Strangely enough, it used to be the other way around, which is why we didn't used SHORT in the past.
This commit is contained in:
parent
83cbfa5e0e
commit
f4995c1381
@ -124,7 +124,7 @@ ICUTimeConversion::TZSet(const char* timeZoneID, const char* tz)
|
||||
strcpy(fDataBridge->addrOfTZName[0], fTimeZoneID);
|
||||
} else {
|
||||
UnicodeString icuString;
|
||||
fTimeZone->getDisplayName(i == 1, TimeZone::SHORT_COMMONLY_USED,
|
||||
fTimeZone->getDisplayName(i == 1, TimeZone::SHORT,
|
||||
fTimeData.ICULocale(), icuString);
|
||||
CheckedArrayByteSink byteSink(fDataBridge->addrOfTZName[i],
|
||||
sizeof(fTimeZoneID));
|
||||
|
Loading…
Reference in New Issue
Block a user