DateTimeFormat: use the proper format for timezone.

V used to mean the same as z, but was repurposed to someone else. So
actually use z which is what we want.

Fixes #11325.
This commit is contained in:
Adrien Destugues
2014-10-07 22:02:27 +02:00
parent cdb2290fe9
commit 892f3b8b9a
+1 -1
View File
@@ -68,7 +68,7 @@ BDateTimeFormat::SetDateTimeFormat(BDateFormatStyle dateStyle,
if (elements & B_DATE_ELEMENT_SECOND)
skeleton << "ss";
if (elements & B_DATE_ELEMENT_TIMEZONE)
skeleton << "V";
skeleton << "z";
UnicodeString pattern = generator->getBestPattern(
UnicodeString::fromUTF8(skeleton.String()), error);