--skip-created-before + --skip-created-after together silently downloads 0 files

Author: zent7xCreated Aug 15, 2026Updated Aug 28, 2026

Version: 1.32.3 (commit 2035bb1)

Bug: When both --skip-created-before and --skip-created-after are specified together to define a date range, the tool exits immediately with "All photos and videos have been downloaded" and 0 items downloaded — even though matching items genuinely exist in that range.

Each flag works correctly on its own (verified separately). It's only the combination that fails.

Repro:

icloudpd -u USER -d /some/dir --size original -a Screenshots --skip-created-after 2025-04-01 --skip-created-before 2025-10-01

Log shows only "Skipping X, as it was created ..., before 2025-10-01" messages, then immediately "All photos and videos have been downloaded" — despite the target album containing thousands of items between those two dates.

Expected: items with creation date strictly between the two bounds should download normally, same as when each flag is used alone.

Workaround: use only one of the two flags per invocation (sharding into overlapping one-sided ranges instead of clean two-sided ranges).

Source: icloud-photos-downloader/icloud_photos_downloader