Skip to content

Commit

Permalink
[update] TIMEZONE
Browse files Browse the repository at this point in the history
  • Loading branch information
jhao104 committed May 28, 2021
1 parent efaefd1 commit 8aa58af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handler/configHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ def poolSizeMin(self):

@LazyProperty
def timezone(self):
return os.getenv("TIMEZONE", getattr(setting, 'TIMEZONE', None))
return os.getenv("TIMEZONE", setting.TIMEZONE)

2 changes: 1 addition & 1 deletion setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
# Please uncomment the following line and set a timezone for the scheduler.
# Otherwise it will detect the timezone from the system automatically.

# TIMEZONE = "Asia/Shanghai"
TIMEZONE = "Asia/Shanghai"

0 comments on commit 8aa58af

Please sign in to comment.