[Feature] Add Support for Date Range Variables in Storage Templates #16721
danielcebrian
started this conversation in
Feature Request
Replies: 3 comments 1 reply
|
I don't know if this solution would work in the file "immich-template-modification.ts". I have uplodad the IA solution for this case (immich-template-modification.zip), but I don't know how to prove it. Plase, same help here. The specific code: // New method to get album date range } |
1 reply
|
Created a PR to generically implement this: #17188 |
0 replies
|
Thank you Exciton for your help! |
0 replies
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
Description
I would like to request a new variable for storage templates that allows creating a single folder for an album with a date range from the oldest to the newest photo, instead of creating separate folders for each day.
Current Behavior
Currently, when using templates like:
This creates multiple folders for the same album with different dates:
Each day of the trip gets its own folder, which clutters the storage structure.
Requested Feature
I would like a new variable or function that creates a date range, something like:
Which would generate a single folder like:
Use Case
This would be particularly useful for trips, events, and other albums that span multiple days, allowing for a cleaner folder structure that keeps all related photos together while still providing date context.
Available Variables
According to the documentation, Immich currently supports the following date variables:
{{y}},{{yy}}- Year{{M}},{{MM}},{{MMM}},{{MMMM}}- Month{{W}},{{WW}}- Week{{d}},{{dd}}- Day{{h}},{{hh}}- Hour{{m}},{{mm}}- Minute{{s}},{{ss}},{{sss}}- SecondBut there's no built-in way to create a date range from the album's photos.
Thank you for considering this feature request!
Platform
All reactions