Skip to content

High performance self-hosted photo and video management solution.

fix(web): memories year missing (#9787)

Michel Heusschenfc5615eff670
diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts
index 358f4467d4..d2aa26b35c 100644
--- a/web/src/lib/utils.ts
+++ b/web/src/lib/utils.ts
@@ -291,4 +291,4 @@ export const handlePromiseError = <T>(promise: Promise<T>): void => {
export const s = (count: number) => (count === 1 ? '' : 's');
-export const memoryLaneTitle = (yearsAgo: number) => `year${s(yearsAgo)} ago`;
+export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} year${s(yearsAgo)} ago`;