|
|
|
|
|
by cheald
4241 days ago
|
|
Agreed; I expect date parsers to give me earliest-available value for a field if it's not specified, with the exception being the current year rather than 0 AD or whatever. Javascript: new Date("Feb 2006")
> Wed Feb 01 2006 00:00:00 GMT-0800 (Pacific Standard Time)
Ruby: require 'time'
Time.parse "Feb 2006"
=> 2006-02-01 00:00:00 -0700
|
|