codrops/Calendario — pull request #29 by deviprsd21 (2014-11-20 15:27:16+00:00)
Title: v3.2.0

# v3.2.0
+ `newday.calendar.trigger`, this is triggered when today is over and we come to the next day. If you are in the current month or if the new day is in the next month it auto updates the day.
+ Time support for `10-DD-YYYY` and `10-DD-1996` like dates.
+ Pre-process caldata and fix certain errors and our data, you won't have to deal with, because we will. Stop execution, and thrown an error. Example : `Content is missing in date 10-20-2014`.
+ `onDay + event` function returned three things, `$el, $content, dateProperties`. Now they return `$el, data, dateProperties`. `data` is an object containing keys `content, allDay, startTime, endTime`, all arrays. This removes lot of clutter. **Note : ** `allDay` contains `booleans`, `startTime` and `endTime` contains Date objects.
+ New `option` function. Use, `instance.option('startIn');` will return the value, `instance.option('startIn', 3);` sets the value.
+ setData has a new parameter. If you want to add new events to the existing one, use it like this `instance.setData(data);` and if you want to completely remove the data and set it with new, then, `instance.setData(data, true);`
+ Calendario now uses **no data loss** safe techniques to remove clutter from events.
+ If `startTime` is less than `endTime` then the `endTime` is automatically update to the next day.