chenjunkai %!s(int64=6) %!d(string=hai) anos
pai
achega
a7f10b3f1c
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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'