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

Document that dates are serialized as midnight in UTC

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: bson-4.11.0
    • Component/s: BSON, Documentation
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      irb(main):010:0> Time.zone.now.beginning_of_day.to_date.to_bson.to_s==Time.now.utc.beginning_of_day.to
      _bson.to_s
       
      => true
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oleg.pudeyev Oleg Pudeyev
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: