High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): display age with months if age is less than 2 (#9053)
Julian Wachholz2593110219f1
diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelteindex 4d20834cb3..d3f977f762 100644--- a/web/src/lib/components/asset-viewer/detail-panel.svelte+++ b/web/src/lib/components/asset-viewer/detail-panel.svelte@@ -292,6 +292,8 @@>{#if ageInMonths <= 11}Age {ageInMonths} months+ {:else if ageInMonths > 12 && ageInMonths <= 23}+ Age 1 year, {ageInMonths - 12} months{:else}Age {age}{/if}