mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Fixed inconnect image grouping with the same date but different year (#296)
This commit is contained in:
parent
c5be7827c3
commit
633170d743
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export const assetsGroupByDate = derived(assets, ($assets) => {
|
|||
try {
|
||||
return lodash
|
||||
.chain($assets)
|
||||
.groupBy((a) => moment(a.createdAt).format('ddd, MMM DD'))
|
||||
.groupBy((a) => moment(a.createdAt).format('ddd, MMM DD YYYY'))
|
||||
.sortBy((group) => $assets.indexOf(group[0]))
|
||||
.value();
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue