summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorEric Fischer <enf@google.com>2009-06-10 12:10:22 -0700
committerEric Fischer <enf@google.com>2009-06-10 12:46:13 -0700
commit84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d (patch)
treea5c0d1062e8ae70c031b4a34d572ff12f346f46b /data
parent295e7248b11557cf80ee9b7a12009d9cec5bd8b0 (diff)
downloadframeworks_base-84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d.zip
frameworks_base-84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d.tar.gz
frameworks_base-84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d.tar.bz2
Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Use a resource instead of a hardcoded string for the 24-hour format since it is not exactly the same in every locale. Make sure the 12-hour format is actually for a 12-hour clock, even in locales where this is not a normal thing to do. In the cap_ampm version, do not have it try to capitalize "am" and "pm" if these are non-ASCII strings, since strftime() doesn't know about Unicode and will mess it up. Add a comment so that people don't think the YEAR_IN_MILLIS constant is actually the length of any real year.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions