Fix title for month

This commit is contained in:
Neeraj Gupta 2024-05-23 14:18:37 +05:30
parent 3ce8a09e39
commit 643b77e81e

View file

@ -37,7 +37,7 @@ extension GroupTypeExtension on GroupType {
.format(date);
} else if (this == GroupType.month) {
final date = DateTime.fromMicrosecondsSinceEpoch(file.creationTime!);
return DateFormat.MMMd(Localizations.localeOf(context).languageCode)
return DateFormat.yMMM(Localizations.localeOf(context).languageCode)
.format(date);
} else {
throw UnimplementedError("not implemented for $this");