summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-22 23:29:45 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-22 23:29:45 +0800
commit95bf0c65b5729afc54a0595fb9ed8a7e9a256f80 (patch)
treefee8671d382dbaa83a01987126582533dfa91a81 /jimbrella
parente887f76b0c10eeec8298b2a49c9ba0f29b678495 (diff)
Reformat utils.py
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jimbrella/utils.py b/jimbrella/utils.py
index e0e6f95..f57f8fb 100644
--- a/jimbrella/utils.py
+++ b/jimbrella/utils.py
@@ -31,7 +31,9 @@ class UTCPlus8(tzinfo):
def tzname(self, dt):
return "+8:00"
+
utc_plus_8 = UTCPlus8()
+
def local_now():
return datetime.now(tz=utc_plus_8)