Bug #163

[PATCH] ParseDate#parsedate: fix for 1.8.x.

Added by Shintaro Kakutani 331 days ago. Updated 297 days ago.

Status :New Start :10/13/2009
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-

Description

Hi,

Here's a patch(attached) to adopt to ParseDate#parsedate 1.8.7 p174 implementation.

But I have no idea this patch is intention revealing or not.
(ParseDate#parsedate cannot parse nn-nn as YY-MM anywa).

What do you think about?

0001-ParseDate-parsedate-fix-for-1.8.x.patch (1.2 KB) Shintaro Kakutani, 10/13/2009 05:25 PM

History

11/16/2009 12:39 PM - Vladimir Sizikov

I'm also unclear whether the change in MRI behavior was intentional or not, so I've filed a bug against MRI here: http://redmine.ruby-lang.org/issues/show/2378

Let's see where it leads.

Also available in: Atom PDF