We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
跑TestURLSessionCache.m中关于cache的单元测试全失败了,其它的测试都是通过的
Sorry, something went wrong.
YMURLCacheHelper.m 中的方法 NS_INLINE NSDate *dateFromString(NSString *v) 如何
传入的 v 是这样的字符串
“Fri, 22 Sep 2023 07:37:05 GMT” 会出现时间解析失败的情况, 导致通过时间去判断是否可以缓存错误,解决办法如下:
static NSDateFormatter *df; if (!df) { df = [[NSDateFormatter alloc] init]; df.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"];//在这里添加一行代码,可解决我遇到的问题 }
No branches or pull requests
未验证问题:
其他
后续
The text was updated successfully, but these errors were encountered: