mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.15k stars 49 forks source link

[BUG] Time shift #214

Open caplam opened 5 months ago

caplam commented 5 months ago

Describe the bug Time indicated when syncing occurs is not right. There is a 2 hours shift Maybe not a bug. I guess there must be an environnement TZdata or a setting in conf file. However date indicated in docker console is correct.

To Reproduce Open log when syncing occurs. Time indicated is 2 hours late from actual time

Expected behavior Time is the same as server.

Screenshots Above: icloud log file bottom left: docker console bottom right: server console Capture d’écran 2024-05-31 à 15 57 27

Configuration use the sample file modified to my needs.

Additional context Docker running on unraid server.

mandarons commented 4 months ago

This is a good one. Thanks for noticing and filing the report. It looks like the app isn't using container timezone for some reason. Will look into it....

Verkhovskyi commented 4 months ago

Happened to me once (also on Unraid). Restart of container somehow fixed it