Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n-date.rb

Class Method Summary collapse

Class Method Details

.parse_international(string) ⇒ Object

return a date from a non-english date



9
10
11
# File 'lib/i18n-date.rb', line 9

def self.parse_international(string)
  parse(month_to_english(string))
end