Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 792555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:00:41+00:00 2026-05-14T22:00:41+00:00

i just loved the fullcalendar and wanted to implement it in a small application,

  • 0

i just loved the fullcalendar and wanted to implement it in a small application, everythin worked OK. i am able to get the events from my database through json to the front end. but all events are being listed as “ALL-DAY” events itself. not able to figure out why.. here is the screenshot for the same. any ideas what is going wrong..? i am using asp.net and c#. i have already tried sending the start and end dates in the ToString(), ToShortDateString(), ToString(“s”), ToLongDateString(), ToUniversalTime(). nothing seems to working for me at the moment. i tried hard coding and sendin the data too. sample json of my data

[{
"id": "2",
"title": "Event2",
"start": "1274171700",
"end": "1274175600"
},
{
"id": "1",
"title": "Event1",
"start": "5/18/2010 16:30:00",
"end": "5/18/2010 19:30:00"
},
{
"id": "3",
"title": "Event3",
"start": "5/18/2010 2:05:00 PM",
"end": "5/18/2010 3:10:00 PM"
},
{
"id": "4",
"title": "Event4",
"start": "5/18/2010",
"end": "5/18/2010"
},
{
"id": "5",
"title": "Event5",
"start": "2010-05-18T14:05:00",
"end": "2010-05-18T15:10:00"
}]

all data above has different formats of dates, and at the moment nothing seems to be working. fullcalender accepts the day part fine, but not the time part. not sure why. can anybody help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:00:42+00:00Added an answer on May 14, 2026 at 10:00 pm

    Ok, i got it where the problem was. the allDay : false property was being rendered as "allDay":"false" by the Newtonsoft.Json library. the false within the quotes was the main culprit. just did
    .Replace("\"false\"","false")
    and it worked like charm! surprisingly it had nothing to do with the dates! thanks anyways..

    Edit : Noticed a few more things, just listing it down

    • the start and end dates have to be formatted this way String.Format("{0:MM/dd/yyyy HH:mm:ss}", startDate) this formats the time part into 24 hrs,
    • allDay property is somewhat compulsory (not sure). cos when you dont mention allDay : false, it defaults to true, and does not show up as expected.
    • Already mentioned above, the allDay : false, the false is supposed to be without the quotes. Everybody using the Newtonsoft.Json library will be facing this issue for sure.

    thats all for now!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just moved to subversion...from visual studio. I love it already! Can someone briefly explain
Just how much slower are events? I have written a streaming XML parser (that
I just started getting into BizTalk at work and would love to keep using
I've just found IPython and I can report that I'm in deep love. And
I'm beginning to fall in love with Extension Methods, but I just don't know
Just what the title says, I need to change the password for an existing
Just looking for the first step basic solution here that keeps the honest people
just a quick question: I am a CS undergrad and have only had experience
Just bought a 2.4GHz Intel Core 2 Duo iMac with 2GB of memory and
Just getting my head around Ruby metaprogramming. The mixin/modules always manage to confuse me.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.