rubinius/rubinius — pull request #1863 by markburns (2012-08-16 06:52:42+00:00)
Title: Added spec for DateTime.parse

I'm adding this spec as I believe it may highlight a bug in all ruby implementations of DateTime.parse

Namely that seconds greater than 59 are parsed as 59 whereas hours, minutes, etc. with incorrect values raise an ArgumentError.

Also according to the iso8601 spec http://en.wikipedia.org/wiki/ISO_8601, 60 seconds is a valid value as it can be used to represent a leap second.