Fix the date format conflict when using upshot.js library
There appears to be a problem between json.net and upshot.js date formats that isn't being handled. A fix would be appreciated. Also, pointing out the known problem would also be great so I don't have to spend the day trying to debug something it turns out Microsoft is already aware of.
We are no longer investing in upshot.js – we are looking at community based solutions instead.
1 comment
-
Brad Olenick
commented
When Upshot loads data, it leaves dates in their on-the-wire string format.
Presently, it doesn't promote these to JavaScript Dates.
So, yes, the string format changed here when Web API moved to Json.NET.What were you seeing here as broken in Upshot for dates? I'd be very happy to fix it.
I'm in the process of making Upshot changes to address Web API use of Json.NET (adjusting Upshot's serialization format for type info from a "__type" property to "$type", etc).
This fix should only affect _saving data_ through Upshot back to a DataController / Web API.
Have you encountered this problem?