summaryrefslogtreecommitdiff
path: root/lib/time.rb
diff options
context:
space:
mode:
-rw-r--r--lib/time.rb11
1 files changed, 9 insertions, 2 deletions
@@ -480,10 +480,17 @@ class Time
t
end
- MonthValue = { # :nodoc:
'JAN' => 1, 'FEB' => 2, 'MAR' => 3, 'APR' => 4, 'MAY' => 5, 'JUN' => 6,
'JUL' => 7, 'AUG' => 8, 'SEP' => 9, 'OCT' =>10, 'NOV' =>11, 'DEC' =>12
- }
#
# Parses +date+ as date-time defined by RFC 2822 and converts it to a Time