My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 282: Problems with IETF date format
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jan 2010


Sign in to add a comment
 
Reported by impresst...@gmail.com, Jan 11, 2010
I'm having difficulty getting events with IETF formatted dates to display
correctly.  They all seem to want to display as all day events.

I'm using version 1.4.3

An example entry is this:
[{"id":"454","title":"Coopa Meeting","start":"Thu, 21 Jan 2010 11:00:00
PST","end":"Thu, 21 Jan 2010 11:30:00
PST","url":"calendarManager.php?entryID=181","allDay":"false"}]

Anyone see why this would be the case?

Thanks.
Jan 11, 2010
Project Member #1 adamrs...@gmail.com
hello,
make sure allDay is a boolean "false", not a string "false"
hope this helps,
adam
Status: Done
Jan 12, 2010
#2 impresst...@gmail.com
It is a boolean false.

To possibly further things, the parameters used are as follows:
		$('$val').fullCalendar({
			header: {
				left: 'prev,next today',
				center: 'title',
				right: 'month,agendaWeek,agendaDay'
			},
			theme: true,
			allDayDefault: false,
			weekends: false,
			defaultEventMinutes: 30,
			minTime: 6,
			maxTime: 18,
			editable: true,
			events: "json_calendar_events.php",
			eventDrop: function(event, delta) {
				alert(event.title + ' was moved ' + delta + ' 
days\\n' +
					'(should probably update your database)');
			},
			eventResize: function(event, delta) {
				alert(event.title + ' was resized ' + delta + ' 
days\\n' +
					'(should probably update your database)');
			},
			loading: function(bool) {
				if (bool) $('#loading').show();
				else $('#loading').hide();
			}

Jan 12, 2010
#3 impresst...@gmail.com
Sorry about this, but I reread your message and I see that I misinterpreted it, 
confusing allDayDefault with the allDay parameter in the events object.  There, allDay 
was indeed set to a string.  Changing it to a boolean makes things work as expected.  

Sorry for the situation.
Sign in to add a comment

Powered by Google Project Hosting