bpatrik / pigallery2

A fast directory-first photo gallery website, with rich UI, optimized for running on low resource servers (especially on raspberry pi)
http://bpatrik.github.io/pigallery2/
MIT License
1.81k stars 208 forks source link

Filter "same-day:every-year" shows item from a day earlier #790

Open JohnJaxx opened 11 months ago

JohnJaxx commented 11 months ago

Describe the bug

I use the query same-day:every-year to see all images from this specific date (e.g. Nov 23rd) from every year. This seems to have rotated just fine daily, except for today.

For example, on Nov 23rd 2023, I saw images of Nov 23rd 2022, but also images of Nov 22nd 2020.

Compared info of these images:

November 23, 2022 - Wednesday, 21:12:23
November 22, 2020 - Sunday, 00:27:23

Not sure if the midnight time might be the reason, as I've seen other images as well from earlier timestamps during the (wrong) day.

Environment (please complete the following information): Docker-Compose on the server Browser independent, tried Firefox on Desktop and DuckDuckGo on Android, same result.

Used app version: Latest stable version 2.0.0

bpatrik commented 11 months ago

related to #660

grasdk commented 8 months ago

@JohnJaxx: Can you test if the issue remains on the edge build?

It may have been fixed with this commit, seeng that year 2020 was also a leap year: https://github.com/bpatrik/pigallery2/pull/845