summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/parsedate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsedate.rb b/lib/parsedate.rb
index 89aeac0031d..7068da40f4a 100644
--- a/lib/parsedate.rb
+++ b/lib/parsedate.rb
@@ -7,7 +7,7 @@ module ParseDate
def parsedate(str, comp=false)
Date._parse(str, comp).
- indexes(:year, :mon, :mday, :hour, :min, :sec, :zone, :wday)
+ select(:year, :mon, :mday, :hour, :min, :sec, :zone, :wday)
end
module_function :parsedate