2016-02-07 3 views

Répondre

4

Cela vous donnera une gamme heures entre 17 heures-22 heures

<%= f.datetime_select :time, minute_step: 30, start_hour: 17, end_hour: 22 %>` 
+0

C'est cool ... Je pensais que' 'start_hour' et end_hour' ne sont disponibles que pour les' SELECT_TIME 'et' select_hour' – SteveTurczyn

+0

Oui. Ça marche :) – MilesStanfield