4

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?

1
  • just a note to say that this is now in the 2.2 release Commented Sep 15, 2014 at 10:32

2 Answers 2

4

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”™.

2
  • 1
    does Whisky help said list? Commented Jul 31, 2014 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
    Commented Jul 31, 2014 at 18:17
2

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.

1
  • 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
    Commented Mar 8, 2015 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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