chenjunkai 6 жил өмнө
parent
commit
a7f10b3f1c

+ 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'