use the selected date format at grouping sections
This commit is contained in:
parent
638dab9d97
commit
bc37181dfd
1 changed files with 1 additions and 1 deletions
|
@ -549,7 +549,7 @@ class MediaFetcher(val context: Context) {
|
|||
return if (timestamp.areDigitsOnly()) {
|
||||
val cal = Calendar.getInstance(Locale.ENGLISH)
|
||||
cal.timeInMillis = timestamp.toLong()
|
||||
val format = if (showDay) "dd MMM yyyy" else "MMM yyyy"
|
||||
val format = if (showDay) context.config.dateFormat else "MMMM yyyy"
|
||||
DateFormat.format(format, cal).toString()
|
||||
} else {
|
||||
""
|
||||
|
|
Loading…
Reference in a new issue