[CSHARP-1460] Option to serialize DateTime fields as local time in JsonWriterSettings Created: 28/Oct/15 Updated: 01/Apr/19 Resolved: 01/Apr/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Feature Request, Serialization |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Trivial - P5 |
| Reporter: | Stefano Castriotta | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
There should be an option int the JsonWriterSettings to serialize DateTime fields as local time when calling the ToJson() extension. |
| Comments |
| Comment by Jeffrey Yemin [ 01/Apr/19 ] |
|
|
| Comment by Stefano Castriotta [ 28/Oct/15 ] |
|
I added the option in my fork: https://github.com/stefanocastriotta/mongo-csharp-driver/commit/51c0d037ae229ab237b7a68b159cdf4865c98f44 |