|
From: Roger H. <rog...@gm...> - 2021-05-16 13:33:50
|
Motion should be getting it from the shell/os setup. How/what was used to set the timezone on the NAS? So in a terminal date shows the right timezone and right time? What does ls -l /etc/timezone point to? Mine points to ../usr/share/zoneinfo/America/Chicago which is a name for CDT timezone I am in. If it is just a a file or you want to see what is defined in it do this: zdump -i /etc/localtime | grep 2021 That will show when the summer transitions happen (in my case from -06 to -05, and the reverse this year). If I run that against what I think is your timezone I get this: zdump -i /usr/share/zoneinfo/Europe/London | grep -i 2021 2021-03-28 02 +01 BST 1 2021-10-31 01 +00 GMT If it does not return anything, then remove the grep and rerun. If that does not return any transitions then the zoneinfo they have is wrong. there may be a command line tool called tzselect or some other tool to set the change the timezone. This gets kind of tricky, since that device will be its own weird distribution (and every linux distribution does things slightly different). And the designers may or may not have issues around setting things such as timezone. They may have simply got the timezone to show up right in their interface(s) without actually setting the timezone correctly for anything started from the command line. There are a number of simple ways to screw up the timezone such that it does not act correctly from all possible common usages. On Sun, May 16, 2021 at 6:42 AM Bill Visick via Motion-user < mot...@li...> wrote: > I'm running motion on a Synology NAS and every video it generates has a > timestamp one hour earlier than the correct time. The cameras and the NAS > itself have the right time and time zones (I'm in the UK at GMT+1 which is > British Summer Time) but the time given in motion.log and reported by > conversion specifier %T in event scripts are wrong. I don't know where this > could be coming from...any ideas? Thanks, Bill > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |