summaryrefslogtreecommitdiff
path: root/libs/utils/BackupData.cpp
diff options
context:
space:
mode:
author Eric Fischer <enf@google.com> 2009-07-23 18:32:42 -0700
committer Eric Fischer <enf@google.com> 2009-07-23 18:48:44 -0700
commit03a8017d0fe3b55b69c4328aa0d27bd96a2f1360 (patch)
tree5557f7ca36e7736cea8e105b8d6e4e60719c6376 /libs/utils/BackupData.cpp
parent1d4b87d492dfefb5506e9fcf358ced680322b754 (diff)
Make the DatePicker respect the date format setting if the date is numeric.
In some locales, there are no abbreviated month names; the abbreviated date formats are essentially numeric. If the user is in such a locale, have the DatePicker respect the date format setting so that the order of the fields will match other numeric-only dates. In locales that have abbreviated month names, continue to use the order that is normal in spelled-out dates. And update the order in updateDate() so that the new order is reflected if you change the order setting and immediately go to change the date without leaving and returning to the Date & Time settings in between. At the same time, change DateFormat.getDateFormatOrder() back to working the way it did in cupcake (prioritizing the date order preference over the locale), even though the DatePicker no longer calls the method. Bug 1805085
Diffstat (limited to 'libs/utils/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions