-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
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.
- related to
-
MONGOID-4460 Date.mongoize(String) should not convert string to local time first
- Closed