On 7/24/21 2:27 AM, Clifford Snow wrote:
Recently I've noticed that the file timestamp is 7 hours earlier than when the
file was created. This is happening on both an SD card I use in a camera as
well as my dashcam. Both the camera and the dashcam have been set for the
correct date and time. Neither gives me the option for entering the timezone.
It's not a big issue, but it's a hassle when looking for an image or video
taken around a particular time.
Looking at the Exif data on the dashcam video, it has recorded the correct time
to the exif data. But pulling up the sd card, the video time is 7 hours earlier.
Anyone have suggestions on how to fix this?
Your SD card is probably FAT formatted and FAT (coming from Windows) has no
timezone concept, it timestamps
with local time.
Linux assumes by default that FAT timestamps are UTC (no other guess is
reasonable).
But you can tell Linux that you know the timezone used on that card:
man mount and search for tz=UTC option in the vfat paragraph.
Regards.
--
Roberto Ragusa mail at robertoragusa.it
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure