ICUTimeConversion: Remove special casing in _FillTmValues for GMT.
This basically reverts the changes in this function back to before5b4d5ef897. Asc686c2216cis left intact, #19047 is still fixed regardless.
This commit is contained in:
@@ -253,11 +253,7 @@ ICUTimeConversion::_FillTmValues(const TimeZone* icuTimeZone,
|
||||
if (!U_SUCCESS(icuStatus))
|
||||
return B_ERROR;
|
||||
|
||||
if (tmOut->tm_gmtoff == 0)
|
||||
tmOut->tm_zone = (char*)"GMT";
|
||||
else
|
||||
tmOut->tm_zone = fDataBridge->addrOfTZName[tmOut->tm_isdst ? 1 : 0];
|
||||
|
||||
tmOut->tm_zone = fDataBridge->addrOfTZName[tmOut->tm_isdst ? 1 : 0];
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user