Dates are incorrect
Closed this issue · 3 comments
I'm not sure if this is actively maintained, but running the project cloned out of github shows the wrong dates ..
For example, running it today (April 23rd) highlights March 24th as "today". The days are all lined up incorrectly as well. It says that January 1st is a Sunday.
It is actively maintained... I will look into it tomorrow...
Hi @mmick66
Thanks! I was able to work past the issue -- it was basically happening because of the GMT Calendar .. I'm in the Eastern timezone in the US and this was causing a weird offset .
Changing the GMT calendar to use NSCalendar.currentCalendar fixed the issue.
You can reproduce the issue by changing your computers' timezone to Eastern and also setting the time to late evening ( after 9pm ).
Appreciate the great library, by the way!
Wow... Thanks... Do you think you could do a pull request so I can merge the code?