This project is archived and is in readonly mode.

#1674 ✓wontfix
Cyril Mougel

Add some options in select_hour helper

Reported by Cyril Mougel | December 31st, 2008 @ 03:20 PM | in 2.x

This patch add some options in select_hour helper.

Options add :

:hour_step => Define a step in each hour :hour_start => Define the hour of start :hour_end => Define the hour of end

Comments and changes to this ticket

  • ronin-42342 (at lighthouseapp)

    ronin-42342 (at lighthouseapp) January 2nd, 2009 @ 02:15 PM

    • Tag changed from actionpack, datehelper, enhancement, helper, options, select_hour to actionpack, datehelper, enhancement, helper, options, patch, select_hour

    :hour_start and :hour_end are exactly what I needed, that's cool !

  • Pratik

    Pratik March 13th, 2009 @ 10:34 AM

    • State changed from “new” to “wontfix”
    • Assigned user set to “Pratik”

    Not so keen on making the API more complex. You should just override the helper in question and call super. Does that work ?

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages