[CSHARP-4540] Translate additional parameters for $dateFromString Created: 21/Feb/23 Updated: 30/Jan/24 Resolved: 30/Jan/24 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.24.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Server Compat: | 7.0 | ||||||||||||||||
| Quarter: | FY24Q4 | ||||||||||||||||
| Upstream Changes Summary: | DRIVERS-2553: |
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Documentation Changes: | Needed | ||||||||||||||||
| Documentation Changes Summary: |
Document new DateFromString methods for LINQ queries. |
||||||||||||||||
| Description |
|
This ticket was split from DRIVERS-2553, please see that ticket for a detailed description. |
| Comments |
| Comment by Robert Stam [ 26/Dec/23 ] |
|
This issue depends on |
| Comment by James Kovacs [ 09/Mar/23 ] |
|
DateTime.ParseExact(string s, string format, IFormatProvider provider) is a standard framework method that takes an arbitrary format string, but provider would serve no purpose. In addition there is no way to map other aspects of $dateFromString to C# such as timezone, onNull, and onError. We should consider creating our own static method - much as we do for MongoDBMath - to represent $dateFromString. |