Sha256: 7469c94bf1497f0b868c5acd6a3f6f5d574b1994a9466d3d76b7714ee2531c1e
Contents?: true
Size: 1.22 KB
Versions: 37
Compression:
Stored size: 1.22 KB
Contents
# -*- encoding: utf-8 -*- date_hash = { :abbr_day_names => lambda { |key, options| if options[:format] && options[:format] =~ Sunrise::LOCALIZE_STANDALONE_ABBR_DAY_NAMES_MATCH :'date.common_abbr_day_names' else :'date.standalone_abbr_day_names' end }, :day_names => lambda { |key, options| if options[:format] && options[:format] =~ Sunrise::LOCALIZE_STANDALONE_DAY_NAMES_MATCH :'date.standalone_day_names' else :'date.common_day_names' end }, :abbr_month_names => lambda { |key, options| if options[:format] && options[:format] =~ Sunrise::LOCALIZE_ABBR_MONTH_NAMES_MATCH :'date.common_abbr_month_names' else :'date.standalone_abbr_month_names' end }, :month_names => lambda { |key, options| if options[:format] && options[:format] =~ Sunrise::LOCALIZE_MONTH_NAMES_MATCH :'date.common_month_names' else :'date.standalone_month_names' end } } # Context-based month name and day name switching for Russian # # Названия месяцев и дней недели в зависимости от контекста ("1 декабря", но "Декабрь 1985") { :uk => { :date => date_hash }, :ru => { :date => date_hash } }
Version data entries
37 entries across 37 versions & 1 rubygems