summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorJoachim Sauer <jsauer@google.com>2017-05-19 12:46:17 +0100
committerJoachim Sauer <jsauer@google.com>2017-05-31 12:04:59 +0100
commit7355fec3783cb45ef6770ce7969c1319347c8b6a (patch)
tree573907ac6ff99a2a75cc8d661286b6de9bf8744a /include/ScopedJavaUnicodeString.h
parent280bf7476f66b5d32ff34cdcb9d4af2e003d22e9 (diff)
Fix month and dayOfWeek names formatting.
This fixes month of year (M/L) and day of week (E/c) formatting when useDateFormatSymbols is false. useDateFormatSymbols is set to true if one of those is true: - a DateFormatSymbol object was explicitly provided via a constructor - the calendar used is (exactly!) a java.util.GregorianCalendar or no locale is set. The underlying code isn't very clear, so it's quite possible that there are similar, related bugs still waiting in this code, but this fixes the concrete, reported issue while not regressing any existing tests. Bug: 38396219 Test: CstLibcoreTestCases Change-Id: If9b2a6df2fb8e9eb298e3e5628a0c16fdceee79c
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions