Method: Mack::Localization::DateFormatEngine::ES#days_of_week
- Defined in:
- lib/mack-localization/format_engine/df_engines/es.rb
#days_of_week(type) ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/mack-localization/format_engine/df_engines/es.rb', line 17 def days_of_week(type) hash = ivar_cache("dow_hash") do dow_hash = { :dow_short => %w{L M M J V S D}, :dow_medium => %w{Lun Mar Mié Jue Vie Sáb Dom}, :dow_long => %w{Lunes Martes Mi\303\251rcoles Jueves Viernes S\303\241bado Domingo} } end return hash["dow_#{type}".to_sym] end |