Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the FAT filesystem timestamps of Blackbox files based on the loca…
…l timezone, where possible. See issue #8539. On aircraft that have a valid real-time clock, "timezone_offset_minutes" can be set appropriately to record real times in the local timezone. It affects, for example, the real time displayed in the OSD and the log start time recorded in Blackbox files. This commit extends that functionality to the FAT filesystem timestamps of Blackbox files. According to Microsoft, FAT timestamps are supposed to reflect the local time where the files were created or modified. See, for example: https://docs.microsoft.com/en-us/windows/win32/sysinfo/file-times Both Windows and Mac OS adhere to the local timezone convention. Linux does not; however, I believe this is best viewed as a bug in Linux, since Microsoft owns the FAT filesystem.
- Loading branch information