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

Document that dates are serialized as midnight in UTC

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.11.0
    • Affects Version/s: None
    • Component/s: BSON, Docs
    • Labels:
    • Fully Compatible

      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
      

            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: