Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3136

Add full support for $dateToString in LINQ3

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.19.0
    • Affects Version/s: None
    • Component/s: Linq, LINQ3
    • None

      The $dateToString aggregation operation has been introduced quite a while ago. In MongoDB v3.6 it can now take timezone parameter.

      At present (as of driver version 2.10) there does not seem to be any way to pass a timezone value / offset if LINQ notation is used.

      It is possible however to construct a $group or $project stage from a BsonDocument with timezone specified.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: