-
Notifications
You must be signed in to change notification settings - Fork 573
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
Time Zone not works. #714
Comments
Looks like the difference in time is related to timezone (8hr for Shanghai). What time zone do you have on iPhone where you took picture, device (Mac?) where you saw iCloud data and device where you run docker image? icloudpd uses local timezone (in docker in your case) to setup time. |
To show correct time in the log files inside my container, I install the tzdata package from the OS repo:
Maybe there is an issue with the pyinstaller tzdata package? |
In other docker containers I saw ppl mounting /etc/localtime from the host, e.g.
I wonder how can we reproduce the issue reliably? |
@bowencool zooming out a bit: how do you use OS-level attributes of the downloaded files? If your assets have right EXIF data inside, I assume all image manipulation software will use EXIF and don't pay attention to file attributes. |
From the data above, it looks to me:
Two approaches from here that I see:
I am leaning toward the former (remove file attributes at all) and would love to hear other opinions. |
I recommend the latter. We will miss this feature of setting file attributes if someone else fixes the TZ issue. This absence may confuse those who are accustomed to using it. |
I am trying to understand how people are accustomed to using file attributes of image/videos, especially if attributes are incorrect. Since attributes are incorrect (and I suspect for a long time) it is very reasonable to assume that they are not used at all. Are you using/relying of file attributes yourself? How? I do not pay any attention to them at all. BTW I don't rely on dates in folder hierarchy either, but storing all photos in one big folder has other challenges, so I am using hierarchy. |
No, I'm not using file attributes. |
@bowencool pls check if 1.16.3 works for you and reopen the issue if it does not. |
I encountered #717 in various ways. |
Overview
This is the info in iCloud:
This is the info in icloudpd-downloaded:
The logs do not match system time also:
Steps to Reproduce
here is my script:
Expected Behavior
The downloaded photos should have the exact same information as their info in iCloud.
Actual Behavior
The information of the downloaded photos does not match their information in iCloud.
Context
The text was updated successfully, but these errors were encountered: