Indefero

Indefero Commit Details


Date:2012-03-10 19:43:45 (13 years 1 month ago)
Author:Simon Holywell
Branch:develop
Commit:47da6adebb461c2b11463ab149809d6166004a7b
Parents: 69949b294121e7a0f546c58058fbe3dbfab52c60
Message:Tweak JS to allow multiple date formats

Changes:

File differences

src/IDF/Views/Issue.php
446446
447447
448448
449
449450
450451
451452
                                    'page_title' => $title,
                                    'preview' => $preview,
                                    'issue' => new IDF_Issue(),
                                    'date_today' => date('Y-m-d 23:59')
                                    ),
                              self::autoCompleteArrays($prj)
                              );
src/IDF/templates/idf/issues/create.html
118118
119119
120120
121
121
122122
123123
124124
        changeYear: true,
        changeMonth: true,
        yearRange: '-0:+5',
        constrainInput: true,
        constrainInput: false,
        dateFormat: 'yy-mm-dd',
        onSelect: function(dateText, inst) {
            this.value = dateText + ' 23:59';
src/IDF/templates/idf/issues/view.html
219219
220220
221221
222
222
223223
224224
225225
        changeYear: true,
        changeMonth: true,
        yearRange: '-0:+5',
        constrainInput: true,
        constrainInput: false,
        dateFormat: 'yy-mm-dd',
        onSelect: function(dateText, inst) {
            this.value = dateText + ' 23:59';

Archive Download the corresponding diff file

Page rendered in 0.17435s using 13 queries.