Browse Source

utc-7:8000

chenjunkai 6 years ago
parent
commit
a7f10b3f1c
1 changed files with 0 additions and 2 deletions
  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'