-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Immich Web App titling recent days "last month" #11504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
just realized i have two ways of setting timezone... mounting localtime as a volume and i've now added the TZ env var. i've removed the mounted localtime file to see if that resolves it, but it does not appear to have any impact. |
Hmm, I don't think this was correct to close. I have an Immich 1.115 running on a server which is in UTC (because it's a server), and it's nonetheless doing this exact thing to recent images, in spite of #11506 being in 1.112. I am suspicious of this being a case of it being late in the month (and my immich server (UTC) being in a different month than the client (UTC-8)) and there being buggy date code exposed by that fact. I would hope that the server timezone does not matter to this, since it would prevent people across multiple timezones using an Immich instance. The somewhat cursed fact here is that the date that should be used for the purposes of rendering is the date in the photos' own timezone, which avoids tearing dates if you are on vacation far away and cross the date boundary of your server or later client. I was reminded of this bug, but I don't think it's the cause here (since immich uses luxon which surely isn't itself broken) github/relative-time-element#285 |
Uh oh!
There was an error while loading. Please reload this page.
The bug
today is July 31st. current time is 7:07PM PDT.
In my timeline on the web app, I have pictures from July 31st, and July 30th (as well as before then).
Instead of dating the pictures from today as "Today", the header is "Last Month". Same for the pictures from July 30th, instead of "Yesterday" it titles them "Last Month".
Selecting the radio button next to either of these "Last Month" titles selects BOTH title radio buttons, but only appears to select the pictures from the day of the originally selected radio button.
Adding the
TZ
env var to my docker deployment does not impact the titling.This behavior was not noticed on the previous version of the server. Mobile apps correctly title the pictures from "Today" as "Wed, July 31".
The OS that Immich Server is running on
Docker Compose
Version of Immich Server
v1.111.0
Version of Immich Mobile App
v1.111.0
Platform with the issue
Your docker-compose.yml content
Your .env content
env variables are added to my service definitions in my docker compose file
Reproduction steps
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: