My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 24: Array - items start and end times do not work as documented
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  May 2009


Sign in to add a comment
 
Reported by baxi...@gmail.com, May 26, 2009
What steps will reproduce the problem?
1.
DOES NOT WORK (see image1.jpg)
echo json_encode(array(
	
		array(
			'id' => 4,
			'title' => "Event4",
			'start' => "2009-05-09T00:00:00Z",
			'url' => ""
		)
	
	));

DOES NOT WORK (see image1.jpg)
echo json_encode(array(
	
		array(
			'id' => 4,
			'title' => "Event4",
			'start' => "2009-05-09T00:00:00Z",
			'end' => "2009-05-10T00:00:00Z",
			'url' => ""
		)
	
	));
DOES NOT WORK (see image1.jpg - UNIX TIMESTAMP)
echo json_encode(array(
	
		array(
			'id' => 4,
			'title' => "Event4",
			'start' => "1243372673",
			'end' => "1243472729",
			'url' => ""
		)
	
	));

DOES WORK
echo json_encode(array(
	
		array(
			'id' => 4,
			'title' => "Event4",
			'start' => "2009-05-09T00:00:00Z",
			'end' => "2009-05-09T11:59:59Z",
			'url' => ""
		)
	
	));

What is the expected output? What do you see instead?

Compare image1.jpg and image2.jpg


What version of the product are you using? On what operating system?

1.1 + r16(fullcalendar.js) on winxp

Please provide any additional information below.

Other than the above issue, awesome work!, looking forward to the
enhancements :) 

image1.jpg
40.3 KB   View   Download
image2.jpg
36.1 KB   View   Download
May 26, 2009
Project Member #1 adamrs...@gmail.com
Hello baxitek,
Could this possibly be solved with the "showTime" property? (in the docs -- can use
both globally and in your calevent objects)

The default behavior is to NOT display the time if both start + end have 00:00:00.
May 26, 2009
#2 baxi...@gmail.com
So if an event starts at midnight on may 9th and ends at midnight on may 10th, these
are not acceptable time formats?
May 26, 2009
Project Member #3 adamrs...@gmail.com
Everything your doing is an acceptable time format and is getting parsed correctly.
However, FullCalendar has some rules on whether it will DISPLAY the time or not. By
default (what most people would want), if the start is 00:00:00 and the end is
00:00:00, the time wont be displayed. However, you can set the "showTime" option to
true, and your times will be guaranteed to show.
May 31, 2009
Project Member #4 adamrs...@gmail.com
please let me know if you are having more troubles with this.
by the way, version 1.2 was just released.
Status: Done
Jun 1, 2009
#5 baxi...@gmail.com
Thanks, I will upgrade and try the showTime option.
Sign in to add a comment

Powered by Google Project Hosting