Tweak JS to allow multiple date formats
This commit is contained in:
parent
69949b2941
commit
47da6adebb
@ -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)
|
||||
);
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user