module PlayWhe::Util

Public Instance Methods

normalize_month(month) click to toggle source
# File lib/playwhe/util.rb, line 8
def normalize_month(month)
  Date::ABBR_MONTHNAMES[month.to_i]
end
normalize_year(year) click to toggle source
# File lib/playwhe/util.rb, line 4
def normalize_year(year)
  "%02d" % (year.to_i % 100)
end