[GODRIVER-1597] Issues with Time unmarshalling Created: 29/Apr/20 Updated: 30/Apr/20 Resolved: 30/Apr/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON, JSON & ExtJSON |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Abhay Kumar | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows/amd64 |
||
| Issue Links: |
|
||||||||
| Description |
|
I'm fetching the Date stored in MongoDB. The value stored in DB is After Unmarshalling the response into time.Time field the value becomes 890 MilliSecond become 89, similarlly 100 becomes 1. The trailing Zeros are getting truncated. |
| Comments |
| Comment by Abhay Kumar [ 30/Apr/20 ] |
|
Please close this. It's the same. I got an error while creating the last one so I created this one |
| Comment by Divjot Arora (Inactive) [ 29/Apr/20 ] |
|
abhay.kumar1@pb.com This looks like the same ticket as |