Replies: 1 comment
-
It's quite a hack, yes. But if it works, it's a valuable addition.
I would interpret ITPC formatted so that it's always the same format. I think it might be worth a pull request with a little refactoring... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have noticed that my EXIF data has different formats of the recording time depending on the camera. Sometimes in the format 2024-08-26T13:58:15Z, sometimes 2024-08-26T11:58:15Z+2:00 or then also 2024-08-26T13:58:15.23Z (with milliseconds). Immich itself uses UTC for the search. Lua, on the other hand, works somewhat inconsistently, partly with Local, partly with UTC.
As a result, some of the existing photos are not found. I have now rewritten the checkIfAssetExists so that these types of time specifications are converted to UTC. In addition, one second is added to takenAfter and one less to takenBefore, so that the milliseconds have no influence (as Lua ignores them).
I still think my solution is quite a hack. Should I enter a PR, or do you already have experience with this?
Beta Was this translation helpful? Give feedback.
All reactions