Merge "Changed the way that date format selector is shown."
This commit is contained in:
@@ -118,6 +118,10 @@ public class DateTimeSettings extends SettingsPreferenceFragment
|
||||
if (currentFormat == null) {
|
||||
currentFormat = "";
|
||||
}
|
||||
|
||||
// Prevents duplicated values on date format selector.
|
||||
mDummyDate.set(mDummyDate.get(Calendar.YEAR), mDummyDate.DECEMBER, 31, 13, 0, 0);
|
||||
|
||||
for (int i = 0; i < formattedDates.length; i++) {
|
||||
String formatted =
|
||||
DateFormat.getDateFormatForSetting(getActivity(), dateFormats[i])
|
||||
|
Reference in New Issue
Block a user