summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-07-17 15:07:41 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-07-17 15:13:06 -0700
commit5b81031a2f8b2bae18c694f0f691eb937a18df06 (patch)
tree773e31b9edd680e3306abf5ea38a873dd23625d5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1137f872c6e4ee0b2f630cd03f5b4f0033368115 (diff)
Internationalize ZoneGetter properly
Previously, the string for "GMT", as well as the digits and the positive and negative signs for timezones were hardcoded (these should have been different for various locales that use native digits or an actual minus sign). Also, the number of digits used for the hour was hardcoded to be two, where for Czech and Finnish they should only use one digit if the hour is less than ten. Fixes: 63675397 Bug: 63652836 Test: make -j RunSettingsLibRoboTests Test: make -j RunSettingsRoboTests Test: Checked time zone picker in Settings under en-US, fa-IR, ar-EG, cs-CZ, he-IL, sq-AL, and fr-FR. Change-Id: I65191429b8b562f77977b1aa4a7db86a779dddc8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions