Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2067

When serializing times to extended json, limit precision to milliseconds

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON, Spec Comp

      Per https://github.com/mongodb/specifications/blob/master/source/extended-json.rst

      Adjust code added in https://github.com/mongodb/bson-ruby/pull/161 to handle the case of usec > 0 and usec < 1000 (less than 1 ms), or possibly usec < 500 if we are rounding.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: