From 892f3b8b9ad4e869bfe748058f60806a068d9842 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 7 Oct 2014 21:58:54 +0200 Subject: [PATCH] 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. --- src/kits/locale/DateTimeFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/locale/DateTimeFormat.cpp b/src/kits/locale/DateTimeFormat.cpp index f21ec3615a..794edc1705 100644 --- a/src/kits/locale/DateTimeFormat.cpp +++ b/src/kits/locale/DateTimeFormat.cpp @@ -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);