Clarify datepicker parameter

This commit is contained in:
Marc Delisle
2011-01-13 16:29:14 -05:00
parent a56b1da3f4
commit d9f862a8c1
2 changed files with 2 additions and 2 deletions

View File

@@ -986,7 +986,7 @@ $(function() {
stepMinutes: 1, stepMinutes: 1,
stepHours: 1, stepHours: 1,
<?php echo ($field['pma_type'] == 'date' ? "showTime: false,":"showTime: true,"); ?> <?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: '', altTimeField: '',
constrainInput: false constrainInput: false
}); });

View File

@@ -219,7 +219,7 @@ $(function() {
stepMinutes: 1, stepMinutes: 1,
stepHours: 1, stepHours: 1,
<?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?> <?php echo ($type == 'date' ? "showTime: false,":"showTime: true,"); ?>
dateFormat: 'yy-mm-dd', dateFormat: 'yy-mm-dd', // yy means year with four digits
altTimeField: '', altTimeField: '',
constrainInput: false constrainInput: false
}); });