You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
The format I received from server with first request: /Date(1354656075282)/"}
While executing it sends with correct format.
But when it returned back from server side: /Date(-62135596800000)/
I cheched with debugger - on server side the field already lost.
So, it could be a problem somewhere in KnockoutUtilities.ConvertData.
Could somebody reproduce this issue?
BTW, please send to NuGet fresh version of the library :)
The text was updated successfully, but these errors were encountered:
Now best way to use Date with JSON is use string in model and parse it on server. But I'll try to study your problem more closely.
The new NuGet-package will be soon.
That looks a way I fixes this, but I used an int to store milliseconds.
BTW, found, that Serialization and Deserialization pretty slow and with 20-30 entities it took about 1 second to serialize -> deserialize -> serialize to client again.
Tried to replace this serialization to Json.Net - no luck. I think, that ConvertData, which uses reflections, isn't too fast.
Is there any way to rewrite it or to throw it away?
I tried to work with Model, containing Data.
The format I received from server with first request: /Date(1354656075282)/"}
While executing it sends with correct format.
But when it returned back from server side: /Date(-62135596800000)/
I cheched with debugger - on server side the field already lost.
So, it could be a problem somewhere in KnockoutUtilities.ConvertData.
Could somebody reproduce this issue?
BTW, please send to NuGet fresh version of the library :)
The text was updated successfully, but these errors were encountered: