We have a date/time field shown to render the time for a series of workshops but right now Craft only increments in 30 minutes.

Is there a way for us to render 15 minute increments?

  • just a note to say that this is now in the 2.2 release Sep 15 '14 at 10:32

Not currently, but it should probably be a setting on the field.

Craft currently uses jquery.timepicker (in craft/app/resources/lib/jquery.timepicker/jquery.timepicker.js) and is just going with it's default step: 30.

I'll add it to “The List”™.

  • 1
    does Whisky help said list? Jul 31 '14 at 18:16
  • 3
    Whiskey helps everything. I put it on the 2.2 list and we'll see if we can squeeze it in.
    – Brad Bell
    Jul 31 '14 at 18:17

I needed a 10 minute increment. From the CP side, you can just ignore the dropdown and type in the minutes to override. From frontend forms this is not an issue because you can do whoever you want with your own jquery.

  • Very good point to mention that you can always ignore the dropdown. I'd go crazy scrolling through 24*4 (or even 24*6) elements.
    – carlcs
    Mar 8 '15 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.