mongoid/mongoid — pull request #2348 by camallen (2012-09-05 16:43:43+00:00)
Title: incorrect behaviour when parsing strings as time

When parsing strings as time the ActiveSupport::TimeZone.parse was returning nil on malformed Time strings and then converting into a float of 0.0 and becoming a Time. However the Time.parse throws the expected ArgumentError which mongoid throws back to the user.