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[
|
//<![CDATA[
|
||||||
$(function() {
|
$(function() {
|
||||||
$('#field_<?php echo $i; ?>').datepicker({
|
$('#field_<?php echo $i; ?>').datepicker({
|
||||||
duration: '',
|
duration: '',
|
||||||
time24h: true,
|
time24h: true,
|
||||||
stepMinutes: 1,
|
stepMinutes: 1,
|
||||||
stepHours: 1,
|
stepHours: 1,
|
||||||
<?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
<?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
||||||
altTimeField: '',
|
dateFormat: 'yy-mm-dd',
|
||||||
|
altTimeField: '',
|
||||||
constrainInput: false
|
constrainInput: false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user