8
DateOnly fields and serialization
Post Flair (click to view more posts with a particular flair)
Post Body
Has anybody played with the latest .net core DateOnly data type and serializing / deserializing them in an Angular app? My team wants to do it but it looks hazzard fraught.
At issue:
- The browser will try to serialize date only objects as datetime anyways.
- It will seemingly send that over the wire as a utc datetime and any attempt to convert to a locality will yield a different date some times of the day.
Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
20,023
Link Karma
2,785
Comment Karma
16,946
Profile updated: 2 days ago
Posts updated: 8 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/angular/com...