[GODRIVER-1542] Implement primitive.DateTime.UnmarshalJSON Created: 25/Mar/20  Updated: 28/Oct/23  Resolved: 08/Apr/20

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: 1.3.1
Fix Version/s: 1.4.0

Type: New Feature Priority: Major - P3
Reporter: Scott Crunkleton Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

primitive.DateTime.MarshalJSON will marshal into an RFC 3339 datetime string. Can we add Unmarshalling from an RFC 3339 string?



 Comments   
Comment by Githook User [ 08/Apr/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1542 Add DateTime.UnmarshalJSON (#355)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/fe69c82592d3a25c75462f7077a2ae260ce99168

Comment by Divjot Arora (Inactive) [ 03/Apr/20 ]

https://github.com/mongodb/mongo-go-driver/pull/355

Generated at Thu Feb 08 08:36:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.