diff --git a/src/IDF/Views/Issue.php b/src/IDF/Views/Issue.php index 8137557..9fd7228 100644 --- a/src/IDF/Views/Issue.php +++ b/src/IDF/Views/Issue.php @@ -446,6 +446,7 @@ class IDF_Views_Issue 'page_title' => $title, 'preview' => $preview, 'issue' => new IDF_Issue(), + 'date_today' => date('Y-m-d 23:59') ), self::autoCompleteArrays($prj) ); diff --git a/src/IDF/templates/idf/issues/create.html b/src/IDF/templates/idf/issues/create.html index 0a0fb09..7a4a934 100644 --- a/src/IDF/templates/idf/issues/create.html +++ b/src/IDF/templates/idf/issues/create.html @@ -118,7 +118,7 @@ $(document).ready(function(){ changeYear: true, changeMonth: true, yearRange: '-0:+5', - constrainInput: true, + constrainInput: false, dateFormat: 'yy-mm-dd', onSelect: function(dateText, inst) { this.value = dateText + ' 23:59'; diff --git a/src/IDF/templates/idf/issues/view.html b/src/IDF/templates/idf/issues/view.html index 47002ca..670420e 100644 --- a/src/IDF/templates/idf/issues/view.html +++ b/src/IDF/templates/idf/issues/view.html @@ -219,7 +219,7 @@ $(document).ready(function(){ changeYear: true, changeMonth: true, yearRange: '-0:+5', - constrainInput: true, + constrainInput: false, dateFormat: 'yy-mm-dd', onSelect: function(dateText, inst) { this.value = dateText + ' 23:59';