shoheiyokoyama / Koyomi

Simple customizable calendar component in Swift :calendar:
MIT License
749 stars 103 forks source link

Show the actual month of the selected date #48

Open whoislyuboanyway opened 6 years ago

whoislyuboanyway commented 6 years ago

dev note: I implemented the missing functionality to show the correct month for the selected date. Please, keep in mind, that this is quick solution, and you can close the PR if you think it's not worth it :)

shoheiyokoyama commented 6 years ago

@whoislyuboanyway Thank you for contributing 👍. Can you describe the contents of the bug in more detail in this pr or related issues?

whoislyuboanyway commented 6 years ago

This is not a bug, I just added a specific enum case, where the month skip can be more than one month prior/after :) I needed it for the project I am working on, so I updated it.

p.s. so far I always moved the Equatable method outside of the equatable object :)