| Issue 796: | Wrong start and end Dates | |
| 1 person starred this issue and may be notified of changes. | Back to list |
events: function(start, end, callback) {
$.ajax({
url: 'http://localhost:8080/ratinho/agenda/json?m=' + start,
dataType: 'json'
...
Hi guys, I need to concat the calendar“s date to my url. Today is Jan 16 but when I console.log() start param, it shows Dec 26 and end param shows Feb 06.
why is this happening ?
Thanks,
Paulo
Jan 17, 2011
Project Member
#1
althaus.it
Jan 17, 2011
Hi, well, I mean the current calendar's view. My default is month, so I see the january month and I think the start and end params should be the first and last days of january but I get these december and february dates. I am running it localy yet but my computer date and time are correct and we can be sure of it cause the calendar loads the january month. I have turned to false the timezone option on fullcalendar.js but nothing has changed. i am using full calendar in a grails project. thanks
Jan 18, 2011
It makes sense cause the calendar loads some more days to show a full week. See the current view on the example (http://arshaw.com/fullcalendar/). It goes from 26th December to 5th February.
Jan 21, 2011
The calendar is getting the data for the *Visible* dates, not just the month that is selected. This is usually helpful as it shows the borderline dates. However, maybe it could have an option to only show the *Specified* dates too. Default behaviour is right though.
Feb 13, 2011
yeah, intended behavior
Status:
Done
|
|
| ► Sign in to add a comment |