locky 1 рік тому
батько
коміт
2f9109123b
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      AdminController/UserManageController.py

+ 2 - 0
AdminController/UserManageController.py

@@ -948,6 +948,8 @@ class UserManagement(View):
         if not all([title, msg, link, country, device_type, register_period, time_zone, push_time, push_app]):
         if not all([title, msg, link, country, device_type, register_period, time_zone, push_time, push_app]):
             return response.json(444)
             return response.json(444)
 
 
+        # 截掉UTC
+        time_zone = time_zone[3:]
         try:
         try:
             customized_push_data = {
             customized_push_data = {
                 'title': title,
                 'title': title,