nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

Auto upload the whole camera roll submits wrong cteation time #2837

Open OleksandrProkofiev opened 8 months ago

OleksandrProkofiev commented 8 months ago

Steps to reproduce

  1. Enable auto upload, auto upload photos + videos
  2. Enable upload the whole camera roll
  3. Use subfolders monthly
  4. Maintain original filename

Expected behaviour

  1. The uploaded photo/video path should be {Auto upload folder}/{Year}/{Month}/{Filename}
  2. The uploaded photo/video creation time should be as in the original file

Actual behaviour

  1. The uploaded photo/video path is {Auto upload folder}/{Year}/{Month}/{Filename}
  2. The uploaded photo/video creation time is the time when the upload process is initiated

Screenshots

0495Details IMG_0495_Original.JPG creation time is the 20 of November 2023 9:35 AM

photo_2024-03-11_10-59-31 The actual creation time is the 21st of November 2016 12:14 AM

0495ListView The file path is correct - /Photos/2016/11/IMG_0495_Original.JPG

Logs

I would happily add the logs, but I don't have up-to-date log files.

Reasoning or why should it be changed/implemented?

Photo catalog order is impacted.

Environment data

iOS version: iOS 17.3.1

Nextcloud iOS app version: 5.2.0.9

Server operating system: Ubuntu 22.04.3 LTS (GNU/Linux 6.5.0-17-generic x86_64)

Web server: Apache

Database: MySQL 8.0.36

PHP version: 8.3.2

Nextcloud version: 28.0.2

Benjamin3508 commented 1 week ago

I have the same problem, the uploaded photo/video creation time seems to be randomly generated.