Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-815

Truncate chrono::DateTime to millisecond precision when converting to bson::DateTime

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • bson-2.0.0-beta.1
    • BSON

    Description

      https://github.com/mongodb/bson-rust/pull/257

      This will eliminate the errors that are easily encountered when inserted bson::DateTimes that are created from chrono::DateTimes. See the description of RUST-816 for more information.

      Attachments

        Issue Links

          Activity

            People

              patrick.freed@mongodb.com Patrick Freed
              vkill.net@gmail.com 永鹏 何
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: