question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better docs for json feed format

See original GitHub issue

Originally reported on Google Code with ID 773

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.

Reported by idbill.planx.com on 2010-12-29 01:02:51

Imported with 3 stars.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
captainGeech42commented, Jun 28, 2016

+1

A few examples of JSON feeds, or even some PHP code showing how to generate them, would be extremely helpful. It took my quite a few hours to get some working code generated to perform DB interaction and pull info into a JSON feed.

0reactions
steffiaucommented, Nov 20, 2015

Referring to MrDCrooks and davidweilei’s comment, unix timestamp with seconds is not supported, but unix with milliseconds is. Here is the modified JSBin using the 2 different unix timestamps: http://jsbin.com/siquxo/edit?html,js,output

I thought it wasn’t working at first as well, took me a while before I figured it out. It’s stated in the doc here (http://fullcalendar.io/docs/utilities/Moment/) but might be a good idea to also mention this in the Events Object section?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docs JSON Data Output Target - Stencil.js
Docs Json Data. While auto-generated readme files formatted with markdown is convenient, there may be scenarios where it'd be better to get all...
Read more >
JSON:API — A specification for building APIs in JSON
A specification for building APIs in JSON · MIME Types · Format documentation · Extensions · Milestones.
Read more >
Building better docs | Mux blog
If you're an API company, docs are a product ... Here's an example - the left side is the raw OpenAPI v3 spec...
Read more >
JSON Schema | The home of JSON Schema
JSON Schema enables the confident and reliable use of the JSON data format. Benefits #. Describes your existing data format(s). Provides clear human-...
Read more >
Intro to How Structured Data Markup Works - Google Developers
Explore this guide to discover how structured data works, review formats, ... For example, here is a JSON-LD structured data snippet that might...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found