ICU-6597 Fix a DST display name bug.

X-SVN-Rev: 24890
This commit is contained in:
Yoshito Umaoka 2008-10-27 15:22:18 +00:00
parent a8aff4fc7b
commit a54768cf9d

View File

@ -1199,6 +1199,8 @@ TimeZone::getDisplayName(UBool daylight, EDisplayType style, const Locale& local
return result.remove();
}
format.adoptTimeZone(tz);
} else {
format.setTimeZone(*this);
}
} else {
// The display name for standard time was requested, but currently in DST