Ted Byers írta:
On Wed, May 27, 2015 at 4:42 PM, Carlos E. R. wrote:
And anyway, the photos have the correct timestamp inside, in the exif metadata. The file time should be ignored.
If the camera's clock is wrong, the EXIF will be wrong.
Who says the camera clock is wrong? Look at the original post, the time is correct.
If the camera's clock is UTC, why would the FAT use anything other?
The camera clock is not UTC, and FAT uses nothing. FAT can not store timezone information, as simple as that.
--
Maybe this is a dumb question, but I routinely work with timestamps when coding in Perl. The libraries I use for this permits creating timestamps without a time zone, and then it is trivial to add a time zone to each (e.g. changing "2015-05-27 04:58:32" to "2015-05-27 04:58:32 EST"). Is it not possible to do something similar using a shell script when copying files from the sdcard (I do not do much shell scripting so I don't know)? Or do those timestamps get converted to UTC the moment it is plugged into the computer? Now, in my work, I never rely on timestamps used on the file system, but this issue piqued my curiousity, and the answer might help the OP.
I guess mount should have an option for specifying how to interpret timestamps exactly. For example the user could use: mount /dev/sdc1 /mnt1 -o TZ=UTC+2h or something similar. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org