A variation of Time.iso8601 that can parse yyyy-MM-dd HH:mm:ss
Let me propose a String to Time conversion method that can parse "yyyy-MM-dd HH:mm:ss" format, which is very much similar to
Time.iso8601, but delimits the date part and the time part with a space character.
This format is defined as the "timestamp string" literal in SQL 92 standard: http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt (see P. 90)
and so this format is very widely used as the default datetime / timestamp literal for major existing RDBMS implementations.
In order to handle this conversion in Ruby on Rails framework, we define our own String => Time conversion method
and Time => String conversion for now,
and I think it's nicer if we had them in the language level with a faster implementation.
As for the method name, maybe we can name it
Time.parse_sql92 or whatever, or maybe we can add an option to
Time.iso8601 if it could be regarded as a variation of