Sha256: 2c20e0143c117ff02be8dfc730971844ec3053937e2cb3f538340076211f1a8c

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

module PlayWhe::Util
  module_function

  def normalize_year(year)
    "%02d" % (year.to_i % 100)
  end

  def normalize_month(month)
    Date::ABBR_MONTHNAMES[month.to_i]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playwhe-0.2.0 lib/playwhe/util.rb