$ date So Jul 1 10:57:41 CEST 2018 $ cat /etc/timezone Europe/Vienna $ ls -la /etc/localtime lrwxrwxrwx 1 root root 33 Mai 19 17:06 /etc/localtime -> /usr/share/zoneinfo/Europe/Vienna $ zdump -v /etc/localtime | grep 2018 /etc/localtime Sun Mar 25 00:59:59 2018 UT = Sun Mar 25 01:59:59 2018 CET isdst=0 gmtoff=3600 /etc/localtime Sun Mar 25 01:00:00 2018 UT = Sun Mar 25 03:00:00 2018 CEST isdst=1 gmtoff=7200 /etc/localtime Sun Oct 28 00:59:59 2018 UT = Sun Oct 28 02:59:59 2018 CEST isdst=1 gmtoff=7200 /etc/localtime Sun Oct 28 01:00:00 2018 UT = Sun Oct 28 02:00:00 2018 CET isdst=0 gmtoff=3600 $ timedatectl Local time: So 2018-07-01 10:59:06 CEST Universal time: So 2018-07-01 08:59:06 UTC RTC time: So 2018-07-01 08:59:06 Time zone: Europe/Vienna (CEST, +0200) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no $ date So Jul 1 10:57:41 CEST 2018 with patch: $ python2 >>> from MythTV import datetime >>> import time >>> tnow = time.time() >>> datetime.fromtimestamp(tnow).strftime("%Y%m%d%H%M%S %z") '20180701110458 +0200' without patch: $ python2 >>> from MythTV import datetime >>> import time >>> tnow = time.time() >>> datetime.fromtimestamp(tnow).strftime("%Y%m%d%H%M%S %z") '20180701100955 +0100'