报错例子
1.Non-fatal Exception: java.lang.Exception FormatException : Input string was not in a correct format.
2.Non-fatal Exception: java.lang.ExceptionFormatException : String was not recognized as a valid DateTime.
电脑上运行没问题,线上包统计有报错
原因:不同国家
System.Globalization.CultureInfo.DefaultThreadCurrentCulture = new System.Globalization.CultureInfo(“en-US”);
System.Globalization.CultureInfo.DefaultThreadCurrentUICulture = new System.Globalization.CultureInfo(“en-US”);