app/soc/content/js/datetimepicker-090304.js
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 09 Apr 2009 22:05:07 +0000
changeset 2138 70b4a5e90eb0
parent 2025 e44de18a2f5d
child 2800 cd9eed2b787e
permissions -rw-r--r--
Store min and max slots in the program model Also add a field to store the current allocation. Patch by: Sverre Rabbelier

$(function() {
        $('.datetime-pick').datetimepicker();
        $('.date-pick').datetimepicker({
                'pickDateOnly' : true,
                'defaultDate' : new Date('01/01/1974'),
                'timeFormat' : '',
                'yearRange' : '1900:2008'
            });
        });