My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 773: Better docs for json feed format
3 people starred this issue and may be notified of changes. Back to list
Status:  ExportedToGithub
Owner:  ----
Closed:  Aug 2015


Sign in to add a comment
 
Reported by idbill.p...@gmail.com, Dec 28, 2010
on page:

http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/

you need an example of the expected json.

I started with:
[{"start": "new Date( 2010, 12, 25)", "title": "1"}]
 
then:
"event" [{"start": "new Date( 2010, 12, 25)", "title": "1"}]

then:
"event" [ { "title": "1", "start": "2010-12-25T00:00:00" } ]

and several other variations, finally gave up and searched for examples on stackoverflow.

Dec 31, 2010
Project Member #1 adamrs...@gmail.com
i agree. when i make-over the docs, i will make sure to improve this aspect
Summary: better docs for json feed format
Status: Misc
Labels: -Type-Defect
Jan 2, 2011
#2 davidweilei
Doc. said Unix time stamp is accepted, but only iso8601 date format works.
 
Feb 12, 2011
Project Member #3 adamrs...@gmail.com
idbill.p...@gmail.com,
just reread your comment and the reason it was not working was b/c you had your new Date() declaration in a string. should be:

    [{"start": new Date( 2010, 12, 25), "title": "1"}]

instead of

    [{"start": "new Date( 2010, 12, 25)", "title": "1"}]
Feb 12, 2011
Project Member #4 adamrs...@gmail.com
davidweilei,
can you post a separate issue with an example of your code?
Aug 13, 2013
Project Member #5 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: Better docs for json feed format (was: better docs for json feed format)
Status: Accepted
Labels: Type-Docs
Mar 18, 2015
#6 MrDCro...@gmail.com
Here is a JSBin attempting to use a unix time stamp:
http://jsbin.com/buredoleqe/1/edit?js,output

Unquoted, quoted, then as a ISO 1809 string (which works), using the debugging template.
Aug 21, 2015
Project Member #7 adamrs...@gmail.com
Discussion for this issue has moved to the following URL:
https://github.com/fullcalendar/fullcalendar/issues/1042

This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event.

Happy coding,
Adam
Status: ExportedToGithub
Sign in to add a comment

Powered by Google Project Hosting