public
Fork of mojombo/chronic
Description: "Chronic is a pure Ruby natural language date parser." + improvements, corrections, speedups, and additions
Homepage: http://chronic.rubyforge.org
Clone URL: git://github.com/jf/chronic.git
Search Repo:
whoops!! didnt catch this. thanks and my bad
jf (author)
Sat Apr 26 02:16:48 -0700 2008
commit  7de50dc8b16d413b3f1d47887c30b8b873e032d0
tree    50f4f1ed039ea18a524379e8f24b8b400b5fc1e7
parent  0d25ff1f36314716305efa6398272e1e6ef1a055
...
19
20
21
22
 
23
24
25
...
19
20
21
 
22
23
24
25
0
@@ -19,7 +19,7 @@
0
     
0
     def self.scan_for_days(token)
0
       if token.word =~ /^(\d*)(st|nd|rd|th)$/
0
- unless $1.to_i > 31 && $1.to_i < 1
0
+ unless $1.to_i > 31 || $1.to_i < 1
0
           return OrdinalDay.new(token.word.to_i)
0
         end
0
       end

Comments

    No one has commented yet.