| Issue 2296: | Event Object start and end are not Moment-ish enough | |
| 1 person starred this issue and may be notified of changes. | Back to list |
According to documentation EventObject start and end properties accept Moment-ish strings. But apparently it is not so.
I get object from the server that were serialized with ASP.NET MVC JsonSerializer which uses a weird format for DateTime serializing. Here is a sample object:
{
"id": "1",
"start": "\/Date(1239018869048)\/"
"end": "\/Date(1239018869048)\/"
}
This DateTime format is weird but Moment supports it. If I try to render this event, nothing happens. But if I set start property to moment(start) and end to moment(end) it works.
Nov 25, 2014
The problem in your example was not that FC doesnt accept ASP dates, it was that the start and and were identically equal, which is technically invalid. Since 2.2.3 (just released), if this happens, it sends the end to null. Better default behavior. This will fix your problem.
Status:
Released
|
|
| ► Sign in to add a comment |
Status: Reproducing
Labels: Type-Bug