[mob][photos] Update day string

This commit is contained in:
laurenspriem
2025-01-31 15:20:55 +05:30
parent 92a718ca0f
commit 68319ca725

View File

@@ -1244,7 +1244,7 @@ class SearchService {
searchResults.add(
GenericSearchResult(
ResultType.event,
'Memories of ${DateFormat('MMMM d').format(date)}',
"${DateFormat('MMMM d').format(date)} through the years",
photoSelection,
hierarchicalSearchFilter: TopLevelGenericFilter(
filterName: DateFormat('MMMM d').format(date),
@@ -1265,7 +1265,7 @@ class SearchService {
DateFormat.yMMMd(Localizations.localeOf(context).languageCode)
.format(date);
if (date.day == currentTime.day && date.month == currentTime.month) {
name = 'This day, ${currentTime.year - date.year} years back';
name = "This day, ${currentTime.year - date.year} years back";
}
searchResults.add(