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

Wrong timezone causes duplicate photos #447

Open
nagarrido opened this issue Aug 27, 2023 · 7 comments
Open

Wrong timezone causes duplicate photos #447

nagarrido opened this issue Aug 27, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@nagarrido
Copy link

When I take a photo, before uploading the server the photo shows the time shifted to the GTM+0 time (I live in a GTM-4 zone). After I upload the photo to the server, the time is corrected.

This leads to a strange behaviour: if a photo is taken after 8pm (which would be labeled as the next day, because it uses the GTM+0 time) and I also upload it, the photo appears twice in the feed. An unsynced version with the date for the next day, and a synced version with the correct date. I will upload a screenshot later.

@nagarrido
Copy link
Author

nagarrido commented Aug 27, 2023

Screenshot_20230826_233735_Photos.jpg

Notice the last photo in my feed

@savvasdalkitsis
Copy link
Owner

Yap I saw this the other day when debugging a problem with cloud sync ending in an infinite loop. This is the underlying problem.

Will be fixed soon

@savvasdalkitsis savvasdalkitsis added the bug Something isn't working label Aug 28, 2023
@savvasdalkitsis savvasdalkitsis added this to the Public release milestone Aug 28, 2023
@nagarrido
Copy link
Author

Any chance to re open this issue? I believe it is happening again

@savvasdalkitsis
Copy link
Owner

I think this is now fixed in v0.0.198

Can you check if your problem is fixed @nagarrido ?

@nagarrido
Copy link
Author

Hey, sorry for the late reply. Still happening 😓 should I provide some logs for uploading photos in which this happens?

@nagarrido
Copy link
Author

Correction: it is not happening at the moment. I had some photos without timestamp so they didn't show as synced in the feed, so I though the issue was still there. But the issue regarding timezones seems to be gone!

@BOOtak
Copy link

BOOtak commented Sep 27, 2024

Hi. I probably caught the similar issue on 0.0.227

pic

First picture has timestamp Sep 15, 02:09
Second one has (correct) timestamp Sep 14, 23:09

Looks like a timezone-related issue. My TZ, both on server and on the phone is UTC+3.

For some reason, web version of librephotos shows incorrect time (Sep 15 02:09) as well

pic1

The funniest twist is that while doing so, it still shows that picture among others from Sep, 14:

pic2

Could it be a Librephotos issue? The other version is the source of the timestamp (file metatada / EXIF data) conflict.

I can provide the picture in question if required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants