-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
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
- is related to
-
RUBY-2187 Convert DateTime instances to Gregorian calendar before serializing to BSON
- Closed
- related to
-
MONGOID-4853 Querying Date fields using a TimeWithZone instance queries by the date in local time zone
- Closed
- links to