gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 161 forks source link

Is there any way to make the timezone correct? #478

Open DChiuch opened 2 months ago

DChiuch commented 2 months ago

Is there any way to make gphotos-sync consider my timezone? It appears that when downloading my photos, gphotos-sync is recording the UTC time from Google Photos into the modified field, even though my timezone isn't UTC. So the times end up being wrong

gilesknap commented 2 months ago

I was under the impression that this should work.

Do the dates look different between google photos web interface and your local filesystem?

I am prone to make mistakes in this because I happen to live in GMT so my own photos don't generally have a problem!

DChiuch commented 2 months ago

I was under the impression that this should work.

Do the dates look different between google photos web interface and your local filesystem?

I am prone to make mistakes in this because I happen to live in GMT so my own photos don't generally have a problem!

Yeah, for example, here's the date of a photo on Google Photos:

image

And here's the same photo synced to my local machine (which is AET, currently GMT+11) with gphotos-sync:

image
gilesknap commented 2 months ago

Thanks for the example - I'll take a look at this. As we are in British Summer Time right now it should be easier to diagnose for me.