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

warning: Month 13 is out of bounds //In Xcode9, iOS11 #61

Closed
BeiXiao opened this Issue Nov 29, 2017 · 5 comments

Comments

Projects
None yet
4 participants
@BeiXiao

BeiXiao commented Nov 29, 2017

because NSDate in _cacheInfo write to plist file
[_cacheInfo writeToFile:cachePathForKey(_directory, @"EGOCache.plist") atomically:YES];
hope fix it
Thanks

@xusion

This comment has been minimized.

Show comment
Hide comment
@xusion

xusion Nov 30, 2017

今天早上我也遇到这个问题,找了几个小时才定位到是这个库的问题。

xusion commented Nov 30, 2017

今天早上我也遇到这个问题,找了几个小时才定位到是这个库的问题。

@buttcmd

This comment has been minimized.

Show comment
Hide comment
@buttcmd

buttcmd Dec 1, 2017

It seems bug in SDK not from EGOCache.

Everything looks like it's working fine although i can see the log too.

buttcmd commented Dec 1, 2017

It seems bug in SDK not from EGOCache.

Everything looks like it's working fine although i can see the log too.

@xusion

This comment has been minimized.

Show comment
Hide comment
@xusion

xusion Dec 3, 2017

注释这句[_cacheInfo writeToFile:cachePathForKey(_directory, @"EGOCache.plist") atomically:YES];就不会出现这个提示Month 13 is out of bounds。
然后作者早点修复一下。

xusion commented Dec 3, 2017

注释这句[_cacheInfo writeToFile:cachePathForKey(_directory, @"EGOCache.plist") atomically:YES];就不会出现这个提示Month 13 is out of bounds。
然后作者早点修复一下。

@xusion

This comment has been minimized.

Show comment
Hide comment
@xusion

xusion Dec 3, 2017

我发现问题是在plist保存nsdate时发生的。我把保存的nsdate转为nsstring,就不会出现这个提示。但我不清楚这样做会不会出现性能上的差异。

xusion commented Dec 3, 2017

我发现问题是在plist保存nsdate时发生的。我把保存的nsdate转为nsstring,就不会出现这个提示。但我不清楚这样做会不会出现性能上的差异。

@shnhrrsn

This comment has been minimized.

Show comment
Hide comment
Member

shnhrrsn commented Dec 3, 2017

@shnhrrsn shnhrrsn closed this Dec 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment