|
From: Peter S. <p....@sc...> - 2018-03-26 13:32:43
|
Myself and others have reported timezone issues especially with the change to summertime. Android has a bug that means files sent over samba have their timestamps set to the sysdate. So I use touch -t to reset the times based on the filename. I have hacked up a perl script to do this. I do the mp4 files individually: touch -t 201712101030 /tmp/20171210_103049.mp4 but in Thing they are shown with a time of 1 hour ahead. I am using BST (GMT +1) In this example the file is shown as 11:30 when I have stamped it 10:30 In bash the file time is correct: bash-4.3# ls -l /tmp/ total 10460 -rw-r--r-- 1 root root 10692187 Dec 10 10:30 20171210_103049.mp4 Peter |