]> arthur.barton.de Git - bup.git/commitdiff
thelpers: call tzset() after changing TZ
authorRob Browning <rlb@defaultvalue.org>
Sun, 29 Dec 2019 20:46:16 +0000 (14:46 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 19 Jan 2020 17:46:10 +0000 (11:46 -0600)
  Note: Although in many cases, changing the TZ environment variable
  may affect the output of functions like localtime() without calling
  tzset(), this behavior should not be relied on.

  -- https://docs.python.org/3/library/time.html#time.tzset

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found