-
Notifications
You must be signed in to change notification settings - Fork 28
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
Value of type 'Moment' has no member 'substract' #5
Comments
Yes. It uses SwiftMoment and that framework has been updated. One of the fixes is that it changed |
Right, that would make sense. Thanks for letting me know. I'll maybe fix that locally until you have it in place in the library. |
Following up with this issues, I am also getting a few errors when I include the library into the project, beside the error mentioned above I am getting
Thanks |
Finally properly renamed `substract` to `subtract`.
Thank you @AndyDunn and @kriskast. I just released |
I do wonder if this has something to do with February having an irregular number of days but the fix would suggest otherwise. Instead of updating a `currentDay` variable I always calculate the first day of the week based on the first visible day of the month because it's less confusing and as long as I set the first date to the start of the day, the bugs in #7 and #5 are not present which is good enough for me. refs #7
I'm getting the following error when trying to compile a project including CalendarView:
It happens on this line of ContentView.swift:
It's using Moment version 0.3 and CalendarView 1.1.0.
Any ideas?
The text was updated successfully, but these errors were encountered: