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

Document that dates are serialized as midnight in UTC

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • bson-4.11.0
    • BSON, Docs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: