my-photo-timeline
my-photo-timeline copied to clipboard
modified date is erased
Hello,
I noticed that the modified date of the photos is set to january 1, 1970 for all of the photos. Is it possible you would be able to fix that?
The issue seems to be here: https://github.com/wiringbits/my-photo-timeline/blob/2a7b117679cf7effe8a52d693c3e1f2487370a5f/src/main/scala/net/wiringbits/myphototimeline/FileOrganizerService.scala#L59
Could you use the orignal modified date?
Nice catch!
From what I can remember, I did it this way because many photos didn't had a valid createdOn/modifiedOn timestamp, for some of them, the app can parse such timestamp from the exif metadata or the filename.
So, I'd likely check a time interval to take the data that makes more sense and set that one.
Unfortunately, I do not think I can look into this soon but I'm happy to review a PR if you are willing to handle it.
Thanks.
Since the file is moved wouldn't the modified date be intact after moving?