fxstein / GoProX

The missing GoPro data and workflow manager for macOS
MIT License
23 stars 3 forks source link

Bug: Make test option local timezone independent #38

Open fxstein opened 1 year ago

fxstein commented 1 year ago

Turns out the file creation time for files without valid EXIF data (NODATA) changes dependent on in which timezone the developer machine is setup in. As such the file names change and the test fails.

[2022-12-18 10:14:47] Error: Test failed! 
[2022-12-18 10:14:47] 
[2022-12-18 10:14:48]  .../2022/20220214/20220214204307_NODATA_GH010739.MP4 | Bin 597806 -> 0 bytes
[2022-12-18 10:14:48]  .../2022/20220214/20220214204307_NODATA_GX010093.MP4 | Bin 14966973 -> 0 bytes
[2022-12-18 10:14:48]  ...20306001216_NODATA_IMG_20220306_001216_00_004.dng | Bin 18535575 -> 0 bytes
[2022-12-18 10:14:48]  ...20306001216_NODATA_IMG_20220306_001216_00_004.dng | Bin 18539894 -> 0 bytes
[2022-12-18 10:14:48]  .../20220214/P_20220214204307_NODATA_GH010739.mp4    | Bin 601364 -> 0 bytes
[2022-12-18 10:14:48]  .../20220214/P_20220214204307_NODATA_GX010093.mp4    | Bin 14970530 -> 0 bytes
[2022-12-18 10:14:48]  6 files changed, 0 insertions(+), 0 deletions(-)