mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix(mobile): incorrect memories with timezone (#16562)
This commit is contained in:
parent
49d393216a
commit
86e8effd8e
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class MemoryService {
|
||||||
try {
|
try {
|
||||||
final now = DateTime.now();
|
final now = DateTime.now();
|
||||||
final data = await _apiService.memoriesApi.searchMemories(
|
final data = await _apiService.memoriesApi.searchMemories(
|
||||||
for_: now,
|
for_: DateTime.utc(now.year, now.month, now.day, 0, 0, 0),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (data == null) {
|
if (data == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue