DateHelperのオプション

参考

例:<%= datetime_select 'hoge', 'hage',{:discard_hour => true, :use_month_numbers => true } %>

1. :order => [:day,:month,:year ] # 選択する項目の順番を入れ替える
2. :discard_year => true # 年のセレクトボックスを削除する。
3. :discard_month => true # 月以降のセレクトボックスを削除する。(日も削除される)
4. :discard_day => true # 日のセレクトボックスを削除する。
5. :discard_hour => true # 時間のセレクトボックスを削除する(分も削除する)
6. :discard_minitu => true # 分のセレクトボックスを削除する。
7. :include_seconds => true # 秒も含める。
8. :start_year => 2007 # 年のセレクトボックスの開始年を設定する。
9. :end_year => 2007 # 年のセレクトボックスの終了年を設定する。
10. :use_month_numbers => true # 月を数字で表示する。
11. :use_month_short_month => true # 月を短縮名で表示する。
12. :add_month_numbers => true # 月を数字+名前で表示する。
13. :use_month_names => %w(Januar Februar Marts ...)) #月の表示名を変更して利用する。
14. :minute_step => 5 #分のステップを変更する。(例だと5分単位)

なのかな?

と調べてみた結果。

date_selectとかdatetime_selectとかのオプション - zenpouの日記