| Changing Time resolution to 15mins? ¶ | |
| Hi everyone, great calendar, has certainly eased my work (and our users) in the past. I'm currently working on a project were we need to input date and time - but would like to limit that to every 15 minutes instead of 1 min. Thanks for your help, | |
| Re: Changing Time resolution to 15mins? ¶ | |
| here is how I achieved this. in calendar_stripped.js: replace Replace Replace In calendar-setup_stripped.js: Insert Essentially what this does is add the minutesInterval parameter to the set up file. Changing the number from 15 to something else will change the length of intervals used for minutes. | |
| last |
| Re[2]: Changing Time resolution to 15mins? ¶ | |
| on playing around a little more, I have discovered that a little bit more is needed to correctly enforce the intervals. In calendar_stripped.js: insert Insert This will make it so that the actual time rounds down to the closest available allowable interval both in the calendar display, and in the actual time that is set. this will happen as soon as the calendar is opened. One benefit of this is that it fixes an error where the word "undefined" shows up in the minutes area of the pop-up calendar when one tries to change by dragging immediately after opening the calendar. | |
| last |














