-
-
Notifications
You must be signed in to change notification settings - Fork 988
Description
Describe the bug
With Nextcloud iOS app 7.2.2 on iOS 26.2.1 (iPhone 16 Pro), Auto Upload consistently sets the uploaded file’s timestamp so that in Nextcloud the file shows a “Modified” date about +7 days in the future (e.g. today 2026-02-02 → shows 2026-02-09).
As a result, Memories sorts the photo into a future date.
Uploading the same exact file manually via iOS Share Sheet (Share → Nextcloud → Upload) results in the correct timestamp and correct sorting in Memories.
Steps to reproduce
On iPhone, generate or download a new image (in my case a PNG) and verify on the iPhone that the date is correct (today).
Enable Auto Upload in the Nextcloud iOS app (7.2.2).
Wait for Auto Upload to upload the image.
In Nextcloud web UI open the file → Details → check Modified date/time.
Observe that the file shows a date ~+7 days in the future; Memories sorts it accordingly.
Upload the same file manually via iOS Share Sheet → Nextcloud → Upload.
Observe that the manual upload has the correct Modified date and Memories sorts correctly.
Expected behavior
Auto Upload should not set future timestamps. The uploaded file’s modified/created time should be consistent with the real time or metadata and match the behavior of manual uploads.
Actual behavior
Auto Upload uploads the file but the file’s Modified timestamp in Nextcloud ends up ~+7 days in the future; Memories sorts the image into that future date. Manual upload behaves correctly.
Environment
Device: iPhone 16 Pro
iOS version: 26.2.1
Nextcloud iOS app: 7.2.2
Nextcloud server: Nextcloud AIO
Server time: correct (NTP active, timezone Europe/Zurich)
File type: PNG (reproducible)
Additional info / Workaround
Workaround: upload images manually (Share → Nextcloud → Upload).
This appears specific to the Auto Upload code path, since manual uploads keep correct timestamps.
Might be related to how Auto Upload sets mtime (e.g. via WebDAV / X-OC-MTime).