[CSHARP-4694] $dateToString aggregation with timezone outputs invalid ISO8601 string on older servers Created: 27/Jun/23 Updated: 28/Oct/23 Resolved: 04/Jul/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.21.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Server Compat: | 7.1 | ||||
| Upstream Changes Summary: | DRIVERS-2620: This ticket proposes a number of routes to change the default behavior of $dateToString to bring it into compliance with ISO 8601. [1] https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC) 1. If the query specifies a date format string, this is used. Case 2b is the only change from prior behavior. This change was delivered in 7.1.0-rc0 and will NOT be backported. |
||||
| Documentation Changes: | Not Needed | ||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||
| Description |
|
This ticket was split from DRIVERS-2620, please see that ticket for a detailed description. |
| Comments |
| Comment by Githook User [ 04/Jul/23 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Robert Stam [ 29/Jun/23 ] |
|
I think the part of the description that states: but in actually it's in the timezone of the local server is wrong. It should read: "but in actuality it's in the timezone specified by the timezone argument". |