Use of tzset #329
-
Is it really necessary to use tzset() from time? As a side note, it would be nice to have system uptime, hostname, kerel version (basically the output of uname -a) in the header where currently only clock displayed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes... See #270
No, Lines 1708 to 1710 in 900557e
Look in the options menu? See #323 |
Beta Was this translation helpful? Give feedback.
@BrainDeadYoloBot
Yes... See #270
No,
tzset()
is run in theDrawClock()
method that is run at least every second, and it's guarded by an if statement that makes sure it runs once every hour.bpytop/bpytop.py
Lines 1708 to 1710 in 900557e
time.tzset()
is part of the standard python3 library see https://docs.python.org/…