CakePHP: Time input with quarter-accuracy
cakephp, forms, html, time
Solution
Here's how to do it:
<?php echo $form->input('time', array('type' => 'time', 'interval' => 15)); ?>
Problem
I'm using ``` $form->input("time") ``` to render select boxes for time input. They have minute-accuracy, which I don't need. How could I limit the select lists to quarters (XX:00, XX:15, XX:30, XX:45)?