More logging adjustments and improvements. (0.21.1)

This commit is contained in:
Johannes Findeisen 2023-02-24 01:45:15 +01:00
commit 4f30af83db
9 changed files with 75 additions and 49 deletions

6
files/receipts.py Normal file
View file

@ -0,0 +1,6 @@
# some python receipts for different stuff
# get system timezone name
# https://stackoverflow.com/questions/1111056/get-time-zone-information-of-the-system-in-python
import datetime
tz_string = datetime.datetime.now(datetime.timezone.utc).astimezone().tzname()