Patch #3156447 Wrong format returned by datepicker in Search
This commit is contained in:

committed by
Marc Delisle

parent
5ed2e7aa35
commit
7ee006ff8b
@@ -211,12 +211,13 @@ if (!isset($param) || $param[0] == '') {
|
||||
//<![CDATA[
|
||||
$(function() {
|
||||
$('#field_<?php echo $i; ?>').datepicker({
|
||||
duration: '',
|
||||
time24h: true,
|
||||
stepMinutes: 1,
|
||||
duration: '',
|
||||
time24h: true,
|
||||
stepMinutes: 1,
|
||||
stepHours: 1,
|
||||
<?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
||||
altTimeField: '',
|
||||
dateFormat: 'yy-mm-dd',
|
||||
altTimeField: '',
|
||||
constrainInput: false
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user