method

year_name

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionView::Helpers
year_name(number) private

Looks up year names by number.

year_name(1998) # => 1998

If the :year_format option is passed:

year_name(1998) # => "Heisei 10"
Show source
Register or log in to add new notes.