diff options
| author | 2009-06-10 12:10:22 -0700 | |
|---|---|---|
| committer | 2009-06-10 12:46:13 -0700 | |
| commit | 84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d (patch) | |
| tree | a5c0d1062e8ae70c031b4a34d572ff12f346f46b /opengl/libagl/array.cpp | |
| parent | 295e7248b11557cf80ee9b7a12009d9cec5bd8b0 (diff) | |
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 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions