Issue #281 has been reported by Anonymous.

----------------------------------------
Bug #281: Time.parse does not throw ArgumentError on all invalid arguments
http://redmine.ruby-lang.org/issues/show/281

Author: Anonymous
Status: Open
Priority: Normal
Assigned to: 
Category: 
Target version: 


When Time.parse is not able to parse certain strings into valid Time objects, it does not throw ArgumentErrors. Instead, it returns Time.now.

For example, Time.parse("asdf") returns Wed Jul 16 17:03:19 -0400 2008.

This is observed on Mac OS X 10.5.3 running on a power pc and on Ubuntu 8.04 running ruby 1.8.6.


----------------------------------------
http://redmine.ruby-lang.org