ui-calendar icon indicating copy to clipboard operation
ui-calendar copied to clipboard

getDate

Open mike-diamond opened this issue 10 years ago • 1 comments

I can't get chosen date by $scope.getDate = function() { return uiCalendarConfig.calendars['myCalendar1'].fullCalendar('getDate'); } It returns me wrong date after I switch to +2 or -2 months. How can I get the date/month I choose in calendar?

mike-diamond avatar Jun 26 '16 11:06 mike-diamond

I guess you should provide the full scenario if you want to get some inputs on what is going wrong here.

Otherwise, to get the current date of the calendar I personnally use the viewRender as described in the Readme of ui-calendar: watching-the-displayed-date-range-of-the-calendar

rizoom avatar Jul 06 '16 11:07 rizoom