Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4673

Fix DateTime evolvement to UTC time

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.1.0.rc0
    • Affects Version/s: None
    • Component/s: Attributes

      MongoDB stores all times as UTC times. DateTimes in local time should be converted to UTC keeping the point in time the same when they are evolved to UTC, instead of taking the local time and creating a UTC time with the same values, which yields a diferent point in time. This behavior is consistent with mongoization in 4460.

            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: