Skip to content
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

切换系统的日历比如 选择日本公历 ,同时设置最大时间为当前时间,会有越界崩溃 #14

Open
WyLSirCom opened this issue Aug 11, 2021 · 1 comment

Comments

@WyLSirCom
Copy link

image

@WyLSirCom
Copy link
Author

修改:
NSDate+CXCategory.h
18行:
sharedCalendar = [NSCalendar calendarWithIdentifier:NSCalendarIdentifierGregorian];
103 104 113 114
[fmt setLocale:[NSLocale systemLocale]];
[fmt setTimeZone:[NSTimeZone systemTimeZone]];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant