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) {
|
if (currentFormat == null) {
|
||||||
currentFormat = "";
|
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++) {
|
for (int i = 0; i < formattedDates.length; i++) {
|
||||||
String formatted =
|
String formatted =
|
||||||
DateFormat.getDateFormatForSetting(getActivity(), dateFormats[i])
|
DateFormat.getDateFormatForSetting(getActivity(), dateFormats[i])
|
||||||
|
Reference in New Issue
Block a user