mirror of
https://github.com/immich-app/immich.git
synced 2025-05-30 19:54:52 -04:00
feat(web): display age with months if age is less than 2 (#9053)
This commit is contained in:
parent
56ce58c718
commit
2593110219
@ -292,6 +292,8 @@
|
|||||||
>
|
>
|
||||||
{#if ageInMonths <= 11}
|
{#if ageInMonths <= 11}
|
||||||
Age {ageInMonths} months
|
Age {ageInMonths} months
|
||||||
|
{:else if ageInMonths > 12 && ageInMonths <= 23}
|
||||||
|
Age 1 year, {ageInMonths - 12} months
|
||||||
{:else}
|
{:else}
|
||||||
Age {age}
|
Age {age}
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user