View | Details | Raw Unified | Return to bug 29552
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-1 / +1 lines)
Lines 145-150 Link Here
145
                    options['minDate'] = new Date().fp_incr(1);
145
                    options['minDate'] = new Date().fp_incr(1);
146
                }
146
                }
147
                disable_buttons.push(0); /* Yesterday */
147
                disable_buttons.push(0); /* Yesterday */
148
                disable_buttons.push(1); /* Today */
148
            }
149
            }
149
            if( $(this).data("flatpickr-pastinclusive") === true ) {
150
            if( $(this).data("flatpickr-pastinclusive") === true ) {
150
                options['maxDate'] = new Date(); /* Not today or hh:mm will be 00:00 */
151
                options['maxDate'] = new Date(); /* Not today or hh:mm will be 00:00 */
151
- 

Return to bug 29552