瀏覽代碼

utc-7:8000

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'