The pickedDate property on gcObject is initialized as new Date(). When I then call setDate( new Date()) this will always cause an animation to happen since pickedDate != newDate.
I think you should remove all time info and also the current day of month from all dates. You're only interested in the year and month. I think you could help yourself if you make a method for that. Either inside the gcObject of as a function on Date. For the latter I found some js library that does something like that: https://github.com/datejs/Datejs/blob/master/src/core.js
A small issue I found while using it. When you init the calendar as in the basic usage example (options={}), you will get a JS exception.
This is because when not specifying events, an event is added, but without a date. This will result in an exception coming from the render method, because that expects the date of the even to be set.
Hello. First and foremost thank you so much for this calendar! It is awesome!
I've only found one issue with it and perhaps it is in the way I am using it, or the options I am passing.
It appears that all of the events I am creating are being displayed one day early. Please see attached screenshot for more details.
Am I doing something wrong?
Thank you!
I think it would be nice to be able to directly set the date via the options when you initialize the calendar. Currently, if you want to change the date after initialization, you would need to call the setDate method. But that will cause 2 renders after each other. If youcan specify it via the options you could save a render, which will speed up things seen from a performance perspective.