Issue 1122: Parse custom date formats
Status:  Released
Owner: ----
Closed:  Nov 2014
Reported by zielin...@gmail.com, Sep 20, 2011
The .net javascript serializer encodes dates into a string that looks like this:

/Date(unixtimestamp)/

See here for more information: 
http://weblogs.asp.net/bleroy/archive/2008/01/18/dates-and-json.aspx

I've patched in support for this by adding the following to your parseDate() 

if (s.match(/^\/Date\((-?\d+)\)?\/$/)) { // .net js serializer
  return new Date(parseInt(s.match(/^\/Date\((-?\d+)\)?\/$/)[1]));
}

new parseDate.txt
777 bytes   View   Download
Oct 2, 2011
Project Member #1 adamrs...@gmail.com
i'd prefer not to bake this in, especially since it is not an agreed-upon standard.

however, in the next version of fc, you will be allowed to make custom date parsers. coming soon...

[repurposing this feature request]
Summary: parse custom date formats
Status: Accepted
Aug 13, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: Parse custom date formats (was: parse custom date formats)
Labels: Type-Feature
Nov 26, 2014
#3 van.wijg...@mdxs.net
I would recommend closing this issue, as in the FC v2.x series you can use the parsing support from Moment.js; see http://momentjs.com/docs/#/parsing/ for details.

And specifically for the original feature request see http://momentjs.com/docs/#/parsing/asp-net-json-date/
Nov 26, 2014
Project Member #4 adamrs...@gmail.com
Ah yes, since FullCalendar v2.0, which uses Moment, this ASP.NET date format is now accepted.
Status: Released