Clarify datepicker parameter
This commit is contained in:
@@ -986,7 +986,7 @@ $(function() {
|
||||
stepMinutes: 1,
|
||||
stepHours: 1,
|
||||
<?php echo ($field['pma_type'] == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
||||
dateFormat: 'yy-mm-dd',
|
||||
dateFormat: 'yy-mm-dd', // yy means year with four digits
|
||||
altTimeField: '',
|
||||
constrainInput: false
|
||||
});
|
||||
|
@@ -219,7 +219,7 @@ $(function() {
|
||||
stepMinutes: 1,
|
||||
stepHours: 1,
|
||||
<?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?>
|
||||
dateFormat: 'yy-mm-dd',
|
||||
dateFormat: 'yy-mm-dd', // yy means year with four digits
|
||||
altTimeField: '',
|
||||
constrainInput: false
|
||||
});
|
||||
|
Reference in New Issue
Block a user