Skip to content
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

Search by date filters by UTC timestamp #892

Open
mcdamo opened this issue Apr 19, 2024 · 2 comments
Open

Search by date filters by UTC timestamp #892

mcdamo opened this issue Apr 19, 2024 · 2 comments

Comments

@mcdamo
Copy link
Contributor

mcdamo commented Apr 19, 2024

Search example: after:2024-04-18 before:2024-04-19

Expected result:

  • any media where timestamp was taken on '2024-04-18', regardless of timezones

Actual result:

  • media without a timezone offset shows as expected, because pigallery has assumed it to be in UTC.
  • media that has a timezone offset in metadata is excluded if it falls outside of the converted UTC timestamp of '2024-04-18`
@mcdamo
Copy link
Contributor Author

mcdamo commented Apr 19, 2024

This is somewhat related to #871

@bpatrik bpatrik added the bug label Apr 19, 2024
@bpatrik
Copy link
Owner

bpatrik commented Apr 19, 2024

Yeah. This needs clean up.
We should fix this before the next release. (which I have no idea when will happen, but today I dont think it will before sept.)

@grasdk FYI. If you feel that you have the time for this. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants