add date Format (#4236)
This commit is contained in:
parent
54dc01253d
commit
cea4911c4d
@ -244,7 +244,7 @@ class SettingsGeneralController : SettingsController() {
|
|||||||
listPreference {
|
listPreference {
|
||||||
key = Keys.dateFormat
|
key = Keys.dateFormat
|
||||||
titleRes = R.string.pref_date_format
|
titleRes = R.string.pref_date_format
|
||||||
entryValues = arrayOf("", "MM/dd/yy", "dd/MM/yy", "yyyy-MM-dd")
|
entryValues = arrayOf("", "MM/dd/yy", "dd/MM/yy", "yyyy-MM-dd", "dd MMM yyyy", "MMM dd, yyyy")
|
||||||
|
|
||||||
val now = Date().time
|
val now = Date().time
|
||||||
entries = entryValues.map { value ->
|
entries = entryValues.map { value ->
|
||||||
|
Loading…
Reference in New Issue
Block a user