Tweak JS to allow multiple date formats

This commit is contained in:
Simon Holywell 2012-03-11 01:43:45 +00:00
parent 69949b2941
commit 47da6adebb
3 changed files with 3 additions and 2 deletions

View File

@ -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)
);

View File

@ -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';

View File

@ -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';