Document that dates are serialized as midnight in UTC

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: