mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: incorrect grouping of recently added assets (#29666)
* fix: incorrect grouping of recently added assets * chore(web): lint * chore(web): refactor timeline utc to local dates * chore(mobile): index remote asset upload dates --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
f8e78792b8
commit
c7b4a798cb
10 changed files with 14276 additions and 6 deletions
|
|
@ -15,12 +15,12 @@ import {
|
|||
fromTimelinePlainDate,
|
||||
fromTimelinePlainDateTime,
|
||||
fromTimelinePlainYearMonth,
|
||||
fromISODateTimeUTCToObject,
|
||||
getTimes,
|
||||
setDifference,
|
||||
type TimelineDateTime,
|
||||
type TimelineYearMonth,
|
||||
getOrderingDate,
|
||||
fromISODateTimeUTC,
|
||||
} from '$lib/utils/timeline-util';
|
||||
import { GroupInsertionCache } from './group-insertion-cache.svelte';
|
||||
import { TimelineDay } from './timeline-day.svelte';
|
||||
|
|
@ -190,7 +190,7 @@ export class TimelineMonth {
|
|||
isVideo: !bucketAssets.isImage[i],
|
||||
livePhotoVideoId: bucketAssets.livePhotoVideoId[i],
|
||||
localDateTime,
|
||||
createdAt: fromISODateTimeUTCToObject(bucketAssets.createdAt[i]),
|
||||
createdAt: fromISODateTimeUTC(bucketAssets.createdAt[i]).toLocal().toObject(),
|
||||
fileCreatedAt,
|
||||
ownerId: bucketAssets.ownerId[i],
|
||||
projectionType: bucketAssets.projectionType[i],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue