| Class | LocalizationSimplified::DateHelper |
| In: |
lib/lang_cf.rb
lib/lang_chef.rb lib/lang_da.rb lib/lang_de.rb lib/lang_en.rb lib/lang_es.rb lib/lang_fi.rb lib/lang_fr.rb lib/lang_fr_.rb lib/lang_nl.rb lib/lang_pirate.rb lib/lang_se.rb lib/lang_template.rb |
| Parent: | Object |
Texts to override +distance_of_time_in_words()+
| Texts | = | { :less_than_x_seconds => "moins de %d secondes", :half_a_minute => "30 secondes", :less_than_a_minute => "moins d'une minute", :one_minute => "1 minute", :x_minutes => "%d minutes", :one_hour => "environ 1 heure", :x_hours => "environ %d heures", :one_day => "1 jour", :x_days => "%d jours" | ||
| Monthnames | = | [nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Fev Mar Avr Mai Jun Jui Aou Sep Oct Nov Dec} | ||
| Daynames | = | %w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi} | ||
| AbbrDaynames | = | %w{Dim Lun Mar Mer Jeu Ven Sam} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "less thun %d secunds", :half_a_minute => "helff a meenoote-a", :less_than_a_minute => "less thun a meenoote-a", :one_minute => "1 meenoote-a", :x_minutes => "%d meenootes", :one_hour => "ebuoot 1 huoor", :x_hours => "ebuoot %d huoors", :one_day => "1 dey", :x_days => "%d deys" | ||
| Monthnames | = | [nil] + %w{Junooery Febrooery Merch Epreel Mey Joone-a Jooly Oogoost Seeptembooor Ooctuber Nufember Deezember} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jun Feb Mer Epr Mey Joon Jool Oog Sep Ooct Nuf Deez} | ||
| Daynames | = | %w{Soondey Mundey Tooesdey Vednesdey Thoorsdey Freedey Setoordey} | ||
| AbbrDaynames | = | %w{Soon Mun Tooe-a Ved Thoo Free Set} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "under %d sekunder", :half_a_minute => "et halvt minut", :less_than_a_minute => "under et minut", :one_minute => "1 minut", :x_minutes => "%d minutter", :one_hour => "omkring en time", :x_hours => "omkring %d timer", :one_day => "1 dag", :x_days => "%d dage" | ||
| Monthnames | = | [nil] + %w{januar februar marts april maj juni juli august september oktober november december} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{jan feb mar apr maj jun jul aug sep okt nov dec} | ||
| Daynames | = | %w{søndag mandag tirsdag onsdag torsdag fredag lørdag} | ||
| AbbrDaynames | = | %w{søn man tir ons tors fre lør} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%e %b", :long => "%e %B, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%A d. %d %B %Y %H:%M", #no timezone :short => "%d. %b %H:%M", :long => "%d. %B %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "weniger als %d Sekunden", :half_a_minute => "hälfte ein Minute", :less_than_a_minute => "weniger als ein Minute", :one_minute => "1 minute", :x_minutes => "%d Minuten", :one_hour => "ungefähr 1 Stunden", :x_hours => "ungefähr %d Stunden", :one_day => "1 Tag", :x_days => "%d Tage" | ||
| Monthnames | = | [nil] + %w{Januar Februar Märtz April Mai Juni Juli August September Oktober November Dezember} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Feb Mrz Apr Mai Jun Jul Aug Sep Oct Nov Dez} | ||
| Daynames | = | %w{Sontag Montag Dienstag Mittwoch Donnerstag Freitag Samstag} | ||
| AbbrDaynames | = | %w{Son Mon Die Mit Don Fre Sam} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "less than %d seconds", :half_a_minute => "half a minute", :less_than_a_minute => "less than a minute", :one_minute => "1 minute", :x_minutes => "%d minutes", :one_hour => "about 1 hour", :x_hours => "about %d hours", :one_day => "1 day", :x_days => "%d days" | ||
| Monthnames | = | [nil] + %w{January February March April May June July August September October November December} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec} | ||
| Daynames | = | %w{Sunday Monday Tuesday Wednesday Thursday Friday Saturday} | ||
| AbbrDaynames | = | %w{Sun Mon Tue Wed Thu Fri Sat} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "menos de %d segundos", :half_a_minute => "medio minuto", :less_than_a_minute => "menos de un minuto", :one_minute => "1 minuto", :x_minutes => "%d minutos", :one_hour => "sobre una hora", :x_hours => "sobre %d horas", :one_day => "un día", :x_days => "%d días" | ||
| Monthnames | = | [nil] + %w{enero febrero marzo abril mayo junio julio agosto septiembre octubre noviembre diciembre} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{ene feb mar abr may jun jul ago sep oct nov dic} | ||
| Daynames | = | %w{domingo lunes martes miércoles jueves viernes sábado} | ||
| AbbrDaynames | = | %w{dom lun mar mié jue vie sáb } | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "alle %d sekuntia", :half_a_minute => "puoli minuuttia", :less_than_a_minute => "alle minuutti", :one_minute => "1 minuutti", :x_minutes => "%d minuuttia", :one_hour => "noin tunti", :x_hours => "noin %d tuntia", :one_day => "1 päivä", :x_days => "%d päivää" | ||
| Monthnames | = | [nil] + %w{tammikuu helmikuu maaliskuu huhtikuu toukokuu kesäkuu heinäkuu elokuu syyskuu lokakuu marraskuu joulukuu} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{tammi helmi maalis huhti touko kesä heinä elo syys loka marras joulu} | ||
| Daynames | = | %w{sunnuntai maanantai tiistai keskiviikko torstai perjantai lauantai} | ||
| AbbrDaynames | = | %w{su ma ti ke to pe la} | ||
| DateFormats | = | { :default => "%e.%m.%Y", :short => "%d.%m.", :long => "%e. %Bta %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a %Bn %e. %H:%M:%S %Z %Y", :short => "%d.%m.%Y %H:%M", :long => "%a %e. %Bta %Y %T" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "moins de %d secondes", :half_a_minute => "une demi-minute", :less_than_a_minute => "moins d'une minute", :one_minute => "1 minute", :x_minutes => "%d minutes", :one_hour => "à peut près 1 heure", :x_hours => "à peu près %d heures", :one_day => "1 jour", :x_days => "%d jours" | ||
| Monthnames | = | [nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Decembre} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Fev Mar Avr Mai Jui Jul Aoû Sep Oct Nov Dec} | ||
| Daynames | = | %w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi} | ||
| AbbrDaynames | = | %w{Dim Lun Mar Mer Jeu Ven Sam} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "moins de %d secondes", :half_a_minute => "30 secondes", :less_than_a_minute => "moins d'une minute", :one_minute => "1 minute", :x_minutes => "%d minutes", :one_hour => "environ 1 heure", :x_hours => "environ %d heures", :one_day => "1 jour", :x_days => "%d jours" | ||
| Monthnames | = | [nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre} | ||
| AbbrMonthnames | = | [nil] + %w{Jan Fev Mar Avr Mai Jun Jui Aou Sep Oct Nov Dec} | ||
| Daynames | = | %w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi} | ||
| AbbrDaynames | = | %w{Dim Lun Mar Mer Jeu Ven Sam} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | ||
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | ||
| Texts | = | { :less_than_x_seconds => "minder dan %d seconden", :half_a_minute => "een halve minuut", :less_than_a_minute => "minder dan een halve minuut", :one_minute => "1 minuut", :x_minutes => "%d minuten", :one_hour => "ongeveer 1 uur", :x_hours => "ongeveer %d uur", :one_day => "1 dag", :x_days => "%d dagen" | ||
| Monthnames | = | [nil] + %w{Januari Februari Maart April Mei Juni Juli Augustus September October November December} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Feb Mar Apr Mei Jun Jul Aug Sep Oct Nov Dec} | ||
| Daynames | = | %w{Zondag Maandag Dinsdag Woensdag Donderdag Vrijdag Zaterdag} | ||
| AbbrDaynames | = | %w{Zo Ma Di Wo Do Vr Za} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "less than %d seconds", :half_a_minute => "half arrr minute", :less_than_a_minute => "less than arrr minute", :one_minute => "1 minute ye landlubber", :x_minutes => "%d minutes accounted ferrrr", :one_hour => "about one hourrr and a bottle of rum", :x_hours => "about %d hourrrs and a bottle of rum", :one_day => "1 day and a dead mans chest arrr", :x_days => "%d days and a ship full of hornpipes" | ||
| Monthnames | = | [nil] + %w{January February March April May June July August September October November December} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec} | ||
| Daynames | = | %w{Sunday Monday Tuesday Wednesday Thurrrrrrsday Frrriday Saturrrrday} | ||
| AbbrDaynames | = | %w{Sun Mon Tue Wed Thurrrr Frri Sat} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%A, %d %b %Y %H:%M:%S", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "mindre än %d sekunder", :half_a_minute => "en halv minut", :less_than_a_minute => "mindre än en minut", :one_minute => "1 minut", :x_minutes => "%d minutter", :one_hour => "ungefär 1 timma", :x_hours => "ungefär %d timmar", :one_day => "1 dygn", :x_days => "%d dygn" | ||
| Monthnames | = | [nil] + %w{januari februari mars april maj juni juli augusti september oktober november december} | Rails uses Month names in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{jan feb mar apr maj jun jul aug sep okt nov dec} | ||
| Daynames | = | %w{söndag måndag tisdag onsdag torsdag fredag lördag} | ||
| AbbrDaynames | = | %w{sön mån tis ons tors fre lör} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:day, :month, :year] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes | |
| Texts | = | { :less_than_x_seconds => "less than %d seconds", :half_a_minute => "half a minute", :less_than_a_minute => "less than a minute", :one_minute => "1 minute", :x_minutes => "%d minutes", :one_hour => "about 1 hour", :x_hours => "about %d hours", :one_day => "1 day", :x_days => "%d days" | ||
| Monthnames | = | [nil] + %w{January February March April May June July August September October November December} | Monthnames used by Rails in Date and time select boxes (date_select and datetime_select ) Currently (as of version 1.1.6), Rails doesn’t use daynames | |
| AbbrMonthnames | = | [nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec} | ||
| Daynames | = | %w{Sunday Monday Tuesday Wednesday Thursday Friday Saturday} | ||
| AbbrDaynames | = | %w{Sun Mon Tue Wed Thu Fri Sat} | ||
| DateFormats | = | { :default => "%Y-%m-%d", :short => "%b %e", :long => "%B %e, %Y" | Date and time format syntax explained in www.rubycentral.com/ref/ref_c_time.html#strftime These are sent to strftime that Ruby’s date and time handlers use internally Same options as php (that has a better list: www.php.net/strftime ) | |
| TimeFormats | = | { :default => "%a, %d %b %Y %H:%M:%S %z", :short => "%d %b %H:%M", :long => "%B %d, %Y %H:%M" | ||
| DateSelectOrder | = | { :order => [:year, :month, :day] | Set the order of date_select and datetime_select boxes Note that at present, the current Rails version only supports ordering of date_select boxes |