Event time drop down question

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
10 years ago
517 posts
Not a huge priority, but I'm wondering, what file controls the event times in the drop down?
I just dont see the need for :15 and :45 on my site.

People are just going to have to deal with :00 or :30 start/end times.
Thanks!
updated by @ilovehousemusic: 04/14/14 06:44:35PM
michael
@michael
10 years ago
7,715 posts
I can tell you where it is, but its not alterable.

Its here:
/modules/jrCore/lib/form.php line 1919 ish.
    while ($date_s < $date_e) {
        $hour = strftime($format, $date_s);
        $_hr[$hour] = $hour;
        $date_s += 900;
    }


that += 900; is + 900 seconds, which is 15min.

If you change that to 1800 it will be 30min intervals.

next update of core will set it back to 15min intervals though.

Tags