incorrect behaviour when parsing strings as time

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

      Possible fix for 2349

              Assignee:
              Unassigned
              Reporter:
              camallen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: