Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Update day string

laurenspriem68319ca725cc
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dart
index 0d3bf3f343..6904821485 100644
--- a/mobile/lib/services/search_service.dart
+++ b/mobile/lib/services/search_service.dart
@@ -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(