|
From: Peter S. <p....@sc...> - 2018-07-28 11:17:26
|
On Fri, 27 Jul 2018 10:01:10 , David Gálvez wrote: > Hi Peter, > > 2018-03-26 15:32 GMT+02:00 Peter Slegg <p....@sc...>: > > > > 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 > > > > > > Is your hardware clock set to the localtime or UTC (GMT)? > I guess is UTC but to be sure. > > How do you run tzinit in mint.cnf? Which option do you use? > In mint.cnf I have the original (very old) settings commented out and the updated one that was suggested when I originally mentioned the issue about 8-10 years ago. # Timezone (mandatory) #~setenv TZ GMT-0BST,3.5.0,10.5.0 setenv TZ GB exec u:\sbin\tzinit -l Somewhere, in the labyrinth of the start-up, ntpdate is called to set the clock. Peter |