Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): incorrect memories with timezone (#16562)

Alex86e8effd8e1e
diff --git a/mobile/lib/services/memory.service.dart b/mobile/lib/services/memory.service.dart
index 3afb6d78d3..6ae8e1d0bb 100644
--- a/mobile/lib/services/memory.service.dart
+++ b/mobile/lib/services/memory.service.dart
@@ -26,7 +26,7 @@ class MemoryService {
try {
final now = DateTime.now();
final data = await _apiService.memoriesApi.searchMemories(
- for_: now,
+ for_: DateTime.utc(now.year, now.month, now.day, 0, 0, 0),
);
if (data == null) {