| 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 |
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 :)
May 26, 2009
Project Member
#1
adamrs...@gmail.com
May 26, 2009
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
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
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
Thanks, I will upgrade and try the showTime option. |
|
| ► Sign in to add a comment |