Fixed inconnect image grouping with the same date but different year (#296)

This commit is contained in:
Alex 2022-07-03 18:00:56 -05:00 committed by GitHub
parent c5be7827c3
commit 633170d743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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) {