chenjunkai 6 роки тому
батько
коміт
a7f10b3f1c
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      Controller/EquipmentStatus.py

+ 0 - 2
Controller/EquipmentStatus.py

@@ -111,8 +111,6 @@ def getTZ(request):
             print(uid)
             info = CommonService.getIpIpInfo(ip=ip, lang=lang)
             tz = info['utc_offset']
-            if ':' not in info['utc_offset']:
-                info['utc_offset'] = info['utc_offset'] + ':00'
             gmtz = tz.replace('UTC','GMT')
             if ':' not in gmtz:
                 gmtz = gmtz+':00'