javascript - Typescript, signalR and date in an object -


i have strange problem , unsure on causing , not sure how fix in clever way.

i have signalr app sends object, contains date client. client written in typescript, although not sure if has influence on or not.

the date in object local date, not uat. need show date way, when date arrives in client converted. if client assumes date uat , converts automatically local time of client.

i not want converted. want displayed is. 1 solution can think of convert date on server side (c#) string first , send on that.

any better ideas? don't know if signalr doing or it's sort of std js behavior. c# developer , confuses me completely.

i stuck in datetime issue how solved keep datetime in utc in server , let js handle conversion ,


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -