foodsoft/vendor/plugins/l10n-simplified-0.8/rdoc/classes/LocalizationSimplified/DateHelper.html
2009-01-06 11:49:19 +01:00

969 lines
No EOL
50 KiB
HTML
Executable file

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: LocalizationSimplified::DateHelper</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
function popupCode( url ) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
function toggleCode( id ) {
if ( document.getElementById )
elem = document.getElementById( id );
else if ( document.all )
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
// Make codeblocks hidden by default
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
// ]]>
</script>
</head>
<body>
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
<td><strong>Class</strong></td>
<td class="class-name-in-header">LocalizationSimplified::DateHelper</td>
</tr>
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
<a href="../../files/lib/lang_cf_rb.html">
lib/lang_cf.rb
</a>
<br />
<a href="../../files/lib/lang_chef_rb.html">
lib/lang_chef.rb
</a>
<br />
<a href="../../files/lib/lang_da_rb.html">
lib/lang_da.rb
</a>
<br />
<a href="../../files/lib/lang_de_rb.html">
lib/lang_de.rb
</a>
<br />
<a href="../../files/lib/lang_en_rb.html">
lib/lang_en.rb
</a>
<br />
<a href="../../files/lib/lang_es_rb.html">
lib/lang_es.rb
</a>
<br />
<a href="../../files/lib/lang_fi_rb.html">
lib/lang_fi.rb
</a>
<br />
<a href="../../files/lib/lang_fr_rb.html">
lib/lang_fr.rb
</a>
<br />
<a href="../../files/lib/lang_fr__rb.html">
lib/lang_fr_.rb
</a>
<br />
<a href="../../files/lib/lang_nl_rb.html">
lib/lang_nl.rb
</a>
<br />
<a href="../../files/lib/lang_pirate_rb.html">
lib/lang_pirate.rb
</a>
<br />
<a href="../../files/lib/lang_se_rb.html">
lib/lang_se.rb
</a>
<br />
<a href="../../files/lib/lang_template_rb.html">
lib/lang_template.rb
</a>
<br />
</td>
</tr>
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
Object
</td>
</tr>
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
<div id="contextContent">
<div id="description">
<p>
Texts to override +distance_of_time_in_words()+
</p>
</div>
</div>
</div>
<!-- if includes -->
<div id="section">
<div id="constants-list">
<h3 class="section-bar">Constants</h3>
<div class="name-list">
<table summary="Constants">
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;moins de %d secondes&quot;, :half_a_minute =&gt; &quot;30 secondes&quot;, :less_than_a_minute =&gt; &quot;moins d'une minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d minutes&quot;, :one_hour =&gt; &quot;environ 1 heure&quot;, :x_hours =&gt; &quot;environ %d heures&quot;, :one_day =&gt; &quot;1 jour&quot;, :x_days =&gt; &quot;%d jours&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Fev Mar Avr Mai Jun Jui Aou Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Dim Lun Mar Mer Jeu Ven Sam}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;less thun %d secunds&quot;, :half_a_minute =&gt; &quot;helff a meenoote-a&quot;, :less_than_a_minute =&gt; &quot;less thun a meenoote-a&quot;, :one_minute =&gt; &quot;1 meenoote-a&quot;, :x_minutes =&gt; &quot;%d meenootes&quot;, :one_hour =&gt; &quot;ebuoot 1 huoor&quot;, :x_hours =&gt; &quot;ebuoot %d huoors&quot;, :one_day =&gt; &quot;1 dey&quot;, :x_days =&gt; &quot;%d deys&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Junooery Febrooery Merch Epreel Mey Joone-a Jooly Oogoost Seeptembooor Ooctuber Nufember Deezember}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jun Feb Mer Epr Mey Joon Jool Oog Sep Ooct Nuf Deez}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Soondey Mundey Tooesdey Vednesdey Thoorsdey Freedey Setoordey}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Soon Mun Tooe-a Ved Thoo Free Set}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;under %d sekunder&quot;, :half_a_minute =&gt; &quot;et halvt minut&quot;, :less_than_a_minute =&gt; &quot;under et minut&quot;, :one_minute =&gt; &quot;1 minut&quot;, :x_minutes =&gt; &quot;%d minutter&quot;, :one_hour =&gt; &quot;omkring en time&quot;, :x_hours =&gt; &quot;omkring %d timer&quot;, :one_day =&gt; &quot;1 dag&quot;, :x_days =&gt; &quot;%d dage&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{januar februar marts april maj juni juli august september oktober november december}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{jan feb mar apr maj jun jul aug sep okt nov dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{søndag mandag tirsdag onsdag torsdag fredag lørdag}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{søn man tir ons tors fre lør}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%e %b&quot;, :long =&gt; &quot;%e %B, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%A d. %d %B %Y %H:%M&quot;, #no timezone :short =&gt; &quot;%d. %b %H:%M&quot;, :long =&gt; &quot;%d. %B %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;weniger als %d Sekunden&quot;, :half_a_minute =&gt; &quot;hälfte ein Minute&quot;, :less_than_a_minute =&gt; &quot;weniger als ein Minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d Minuten&quot;, :one_hour =&gt; &quot;ungefähr 1 Stunden&quot;, :x_hours =&gt; &quot;ungefähr %d Stunden&quot;, :one_day =&gt; &quot;1 Tag&quot;, :x_days =&gt; &quot;%d Tage&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Januar Februar Märtz April Mai Juni Juli August September Oktober November Dezember}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Feb Mrz Apr Mai Jun Jul Aug Sep Oct Nov Dez}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Sontag Montag Dienstag Mittwoch Donnerstag Freitag Samstag}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Son Mon Die Mit Don Fre Sam}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;less than %d seconds&quot;, :half_a_minute =&gt; &quot;half a minute&quot;, :less_than_a_minute =&gt; &quot;less than a minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d minutes&quot;, :one_hour =&gt; &quot;about 1 hour&quot;, :x_hours =&gt; &quot;about %d hours&quot;, :one_day =&gt; &quot;1 day&quot;, :x_days =&gt; &quot;%d days&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{January February March April May June July August September October November December}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Sunday Monday Tuesday Wednesday Thursday Friday Saturday}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Sun Mon Tue Wed Thu Fri Sat}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;menos de %d segundos&quot;, :half_a_minute =&gt; &quot;medio minuto&quot;, :less_than_a_minute =&gt; &quot;menos de un minuto&quot;, :one_minute =&gt; &quot;1 minuto&quot;, :x_minutes =&gt; &quot;%d minutos&quot;, :one_hour =&gt; &quot;sobre una hora&quot;, :x_hours =&gt; &quot;sobre %d horas&quot;, :one_day =&gt; &quot;un día&quot;, :x_days =&gt; &quot;%d días&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{enero febrero marzo abril mayo junio julio agosto septiembre octubre noviembre diciembre}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{ene feb mar abr may jun jul ago sep oct nov dic}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{domingo lunes martes miércoles jueves viernes sábado}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{dom lun mar mié jue vie sáb }</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;alle %d sekuntia&quot;, :half_a_minute =&gt; &quot;puoli minuuttia&quot;, :less_than_a_minute =&gt; &quot;alle minuutti&quot;, :one_minute =&gt; &quot;1 minuutti&quot;, :x_minutes =&gt; &quot;%d minuuttia&quot;, :one_hour =&gt; &quot;noin tunti&quot;, :x_hours =&gt; &quot;noin %d tuntia&quot;, :one_day =&gt; &quot;1 päivä&quot;, :x_days =&gt; &quot;%d päivää&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{tammikuu helmikuu maaliskuu huhtikuu toukokuu kesäkuu heinäkuu elokuu syyskuu lokakuu marraskuu joulukuu}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{tammi helmi maalis huhti touko kesä heinä elo syys loka marras joulu}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{sunnuntai maanantai tiistai keskiviikko torstai perjantai lauantai}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{su ma ti ke to pe la}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%e.%m.%Y&quot;, :short =&gt; &quot;%d.%m.&quot;, :long =&gt; &quot;%e. %Bta %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a %Bn %e. %H:%M:%S %Z %Y&quot;, :short =&gt; &quot;%d.%m.%Y %H:%M&quot;, :long =&gt; &quot;%a %e. %Bta %Y %T&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;moins de %d secondes&quot;, :half_a_minute =&gt; &quot;une demi-minute&quot;, :less_than_a_minute =&gt; &quot;moins d'une minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d minutes&quot;, :one_hour =&gt; &quot;à peut près 1 heure&quot;, :x_hours =&gt; &quot;à peu près %d heures&quot;, :one_day =&gt; &quot;1 jour&quot;, :x_days =&gt; &quot;%d jours&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Decembre}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Fev Mar Avr Mai Jui Jul Aoû Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Dim Lun Mar Mer Jeu Ven Sam}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;moins de %d secondes&quot;, :half_a_minute =&gt; &quot;30 secondes&quot;, :less_than_a_minute =&gt; &quot;moins d'une minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d minutes&quot;, :one_hour =&gt; &quot;environ 1 heure&quot;, :x_hours =&gt; &quot;environ %d heures&quot;, :one_day =&gt; &quot;1 jour&quot;, :x_days =&gt; &quot;%d jours&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Fev Mar Avr Mai Jun Jui Aou Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Dim Lun Mar Mer Jeu Ven Sam}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;minder dan %d seconden&quot;, :half_a_minute =&gt; &quot;een halve minuut&quot;, :less_than_a_minute =&gt; &quot;minder dan een halve minuut&quot;, :one_minute =&gt; &quot;1 minuut&quot;, :x_minutes =&gt; &quot;%d minuten&quot;, :one_hour =&gt; &quot;ongeveer 1 uur&quot;, :x_hours =&gt; &quot;ongeveer %d uur&quot;, :one_day =&gt; &quot;1 dag&quot;, :x_days =&gt; &quot;%d dagen&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Januari Februari Maart April Mei Juni Juli Augustus September October November December}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Feb Mar Apr Mei Jun Jul Aug Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Zondag Maandag Dinsdag Woensdag Donderdag Vrijdag Zaterdag}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Zo Ma Di Wo Do Vr Za}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;less than %d seconds&quot;, :half_a_minute =&gt; &quot;half arrr minute&quot;, :less_than_a_minute =&gt; &quot;less than arrr minute&quot;, :one_minute =&gt; &quot;1 minute ye landlubber&quot;, :x_minutes =&gt; &quot;%d minutes accounted ferrrr&quot;, :one_hour =&gt; &quot;about one hourrr and a bottle of rum&quot;, :x_hours =&gt; &quot;about %d hourrrs and a bottle of rum&quot;, :one_day =&gt; &quot;1 day and a dead mans chest arrr&quot;, :x_days =&gt; &quot;%d days and a ship full of hornpipes&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{January February March April May June July August September October November December}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Sunday Monday Tuesday Wednesday Thurrrrrrsday Frrriday Saturrrrday}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Sun Mon Tue Wed Thurrrr Frri Sat}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%A, %d %b %Y %H:%M:%S&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;mindre än %d sekunder&quot;, :half_a_minute =&gt; &quot;en halv minut&quot;, :less_than_a_minute =&gt; &quot;mindre än en minut&quot;, :one_minute =&gt; &quot;1 minut&quot;, :x_minutes =&gt; &quot;%d minutter&quot;, :one_hour =&gt; &quot;ungefär 1 timma&quot;, :x_hours =&gt; &quot;ungefär %d timmar&quot;, :one_day =&gt; &quot;1 dygn&quot;, :x_days =&gt; &quot;%d dygn&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{januari februari mars april maj juni juli augusti september oktober november december}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Rails uses Month names in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{jan feb mar apr maj jun jul aug sep okt nov dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{söndag måndag tisdag onsdag torsdag fredag lördag}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{sön mån tis ons tors fre lör}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:day, :month, :year]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Texts</td>
<td>=</td>
<td class="context-item-value">{ :less_than_x_seconds =&gt; &quot;less than %d seconds&quot;, :half_a_minute =&gt; &quot;half a minute&quot;, :less_than_a_minute =&gt; &quot;less than a minute&quot;, :one_minute =&gt; &quot;1 minute&quot;, :x_minutes =&gt; &quot;%d minutes&quot;, :one_hour =&gt; &quot;about 1 hour&quot;, :x_hours =&gt; &quot;about %d hours&quot;, :one_day =&gt; &quot;1 day&quot;, :x_days =&gt; &quot;%d days&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Monthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{January February March April May June July August September October November December}</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Monthnames used by Rails in <a href="../Date.html">Date</a> and time select
boxes (<tt>date_select</tt> and <tt>datetime_select</tt> ) Currently (as of
version 1.1.6), Rails doesn&#8217;t use daynames
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrMonthnames</td>
<td>=</td>
<td class="context-item-value">[nil] + %w{Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">Daynames</td>
<td>=</td>
<td class="context-item-value">%w{Sunday Monday Tuesday Wednesday Thursday Friday Saturday}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">AbbrDaynames</td>
<td>=</td>
<td class="context-item-value">%w{Sun Mon Tue Wed Thu Fri Sat}</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%Y-%m-%d&quot;, :short =&gt; &quot;%b %e&quot;, :long =&gt; &quot;%B %e, %Y&quot;</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
<a href="../Date.html">Date</a> and time format syntax explained in <a
href="http://www.rubycentral.com/ref/ref_c_time.html#strftime">www.rubycentral.com/ref/ref_c_time.html#strftime</a>
These are sent to strftime that Ruby&#8217;s date and time handlers use
internally Same options as php (that has a better list: <a
href="http://www.php.net/strftime">www.php.net/strftime</a> )
</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">TimeFormats</td>
<td>=</td>
<td class="context-item-value">{ :default =&gt; &quot;%a, %d %b %Y %H:%M:%S %z&quot;, :short =&gt; &quot;%d %b %H:%M&quot;, :long =&gt; &quot;%B %d, %Y %H:%M&quot;</td>
</tr>
<tr class="top-aligned-row context-row">
<td class="context-item-name">DateSelectOrder</td>
<td>=</td>
<td class="context-item-value">{ :order =&gt; [:year, :month, :day]</td>
<td width="3em">&nbsp;</td>
<td class="context-item-desc">
Set the order of <tt>date_select</tt> and <tt>datetime_select</tt> boxes
Note that at present, the current Rails version only supports ordering of
date_select boxes
</td>
</tr>
</table>
</div>
</div>
<!-- if method_list -->
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
</html>