Feedback on ASP.NET Web API

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.

7 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Stephen KorowStephen Korow shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Brad OlenickBrad Olenick commented  ·   ·  Flag as inappropriate

        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?

      Feedback and Knowledge Base