Open jeffhuys opened 8 years ago
By analyzing the blame information on this pull request, we identified @gschammah, @ndrisso and @asharbitz to be potential reviewers
The build seems to have failed. I've updated the code.
EDIT: If someone could help me out with parsing the errors, I'd appreciate it.
Exposing the internal date object I've added support for exposing the internal date object of the calendar view. You can use this as follows:
<div pickadate ng-model="calendarDate" current-date="calendarCurrentDate"></div>
Now,
calendarCurrentDate
will be theDate
object of the calendars' current view. For instance, when the user sees "December 2015", and callscalendarCurrentDate.getMonth()
it will return the month number.Showing events on the calendar I've also added support for supplying an array with formatted dates to show in the calendar. Use it like this:
<div pickadate ng-model="calendarDate" dates-with-events="calendarPopulatedDates"></div>
In my case, I've added dates like this:
Note: this may not be the most efficient way to do this.
It looks like this:
To conclude
This is one of my first pull requests. I hope everything is right! If not, please let me know. I'll gladly update my code.