-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS15.4手机关闭24小时制,图片上传时崩溃 #309
Comments
崩溃信息是什么 |
在OSSModel.m文件的179行报错-[OSSFederationCredentialProvider getToken:],因为上面的NSDateFormatter没设置locale,导致self.cachedToken.expirationTimeInMilliSecond为0了,expirationDate则变为1970; |
你修改下sdk的代码看能否解决问题,我这边只有15.4.1的真机,设置12小时制时区北京 没有复现 |
给上面的NSDateFormatter设置locale后,就没有问题了,15.4.1也会有这样的问题! |
大概是因为没有设置NSDateFormatter的locale导致的问题,请看下
The text was updated successfully, but these errors were encountered: