| @@ -53,11 +53,9 @@ from services.account_service import AccountService | |||
| warnings.simplefilter("ignore", ResourceWarning) | |||
| # fix windows platform | |||
| if os.name == "nt": | |||
| os.system('tzutil /s "UTC"') | |||
| else: | |||
| os.environ["TZ"] = "UTC" | |||
| os.environ["TZ"] = "UTC" | |||
| # windows platform not support tzset | |||
| if hasattr(time, "tzset"): | |||
| time.tzset() | |||