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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user