Commit dbee769c by sikang

add shanghai

parent 98696c53
...@@ -311,7 +311,7 @@ public class DeviceInfo { ...@@ -311,7 +311,7 @@ public class DeviceInfo {
String displayName = timeZone.getDisplayName(false, TimeZone.SHORT); String displayName = timeZone.getDisplayName(false, TimeZone.SHORT);
//时区代码 //时区代码
String idTime = "WIB/WITA/WIT/"; String idTime = "WIB/WITA/WIT/";
if (idTime.contains(displayName + "/")) { if (idTime.contains(displayName + "/") || "Asia/Shanghai".equals(timeZone.getID())) {
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment