Issue 119: Force to display specific day
Status:  Done
Owner: ----
Closed:  Oct 2009
Reported by Keyser.S...@gmail.com, Oct 11, 2009
I am attempting to force the basicDay calendar view to display a day of my
choosing (oct 9th, 2009):

$(document).ready(function() {
var d = 9; 
var y = 2009; 
var m = 9; \\jan = 0
		
	$(\'#calendar\').fullCalendar({
	editable: false,
	defaultView: \'basicDay\',

	});
});

This always displays the current day (today). 

I thought perhaps I need to use the 'gotoDate' method but there are no
examples I can find that use it. A nudge in the right direction is
appreciated. 


Oct 11, 2009
#1 gle...@gmail.com
You dont have the year: y, month: m, date: d options in there...

Oct 11, 2009
#3 Keyser.S...@gmail.com
I assume you are talking about this: 

year, month, date: Integers
    The initial year/month/date when the calendar loads. month is 0-based, meaning
January=0, February=1, etc. If ommitted, the calendar starts on the current date.

So what would I use, something like? 

year: 2009,
month: 9,
day: 9,

If so, where exactly does it go? 





Oct 11, 2009
#4 Keyser.S...@gmail.com
Got it working, thanks for the nudge. 

$(document).ready(function() {
var d = 9; 
var y = 2009; 
var m = 9; \\jan = 0
		
	$(\'#calendar\').fullCalendar({
	year: y,
	month: m,
	date: d,

	editable: false,
	defaultView: \'basicDay\',

	});
});

Oct 13, 2009
Project Member #5 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Done