[Feature] Customizable age display format #29921
Closed
Roman202020
started this conversation in
Feature Request
Replies: 1 comment 1 reply
|
This is way too small of a feature to make configurable, so I'll close this as a duplicate of #25693 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
The current age display is quite limited: up to 2 years old, it shows age with month-level precision, and after that, only with year-level precision.
This works well for many cases, but it isn't detailed enough for young children. During the first few years of life, children change very quickly, and it can be useful to see their age in days, weeks, or months instead of only months or years. For example, a newborn less than one month old is currently shown simply as "0 months".
Instead of having a fixed format, it would be great if the age display were customizable. Different users have different needs—for example, parents may prefer day- or week-level precision for infants, while others may only care about years.
One possible configuration could look like this:
"0":"{days}",
"2w":"{weeks}{days}",
"6m":"{months}{weeks}{days}",
"3y":"{years}{months}",
"50y":"{years}"
This would mean:
From birth: show age in days.
From 2 weeks: show weeks + days.
From 6 months: show months + weeks + days.
From 3 years: show years + months.
From 50 years: show years only.
This is only an example of how such a feature could work. The exact configuration format isn't important—the main idea is to allow users to define how age is displayed for different age ranges.
The current behavior in Immich would be equivalent to:
"0":"{years}{months}",
"2y":"{years}"
Platform
All reactions