From 633170d74348732f52c001d1117832bbec20d2f7 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 3 Jul 2022 18:00:56 -0500 Subject: [PATCH] Fixed inconnect image grouping with the same date but different year (#296) --- Makefile | 2 +- web/src/lib/stores/assets.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f211b795a6..4fdea22137 100644 --- a/Makefile +++ b/Makefile @@ -17,4 +17,4 @@ prod: docker-compose -f ./docker/docker-compose.yml up --build -V --remove-orphans prod-scale: - docker-compose -f ./docker/docker-compose.yml up --build -V --scale immich-server=5 --scale immich-microservices=3 --remove-orphans \ No newline at end of file + docker-compose -f ./docker/docker-compose.yml up --build -V --scale immich-server=3 --scale immich-microservices=3 --remove-orphans \ No newline at end of file diff --git a/web/src/lib/stores/assets.ts b/web/src/lib/stores/assets.ts index cc1f9db906..40397641a2 100644 --- a/web/src/lib/stores/assets.ts +++ b/web/src/lib/stores/assets.ts @@ -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) {