20f348c
1
2
3
4
5
6
7
8
9
10
11
12
import os import time from dify_app import DifyApp def init_app(app: DifyApp): os.environ["TZ"] = "UTC" # windows platform not support tzset if hasattr(time, "tzset"): time.tzset()