The date picker fills the "time" part of the field with 00:00:00 when picking a DateTime instead of just a Date.

SVN:trunk[1911]
This commit is contained in:
Denis Flaven
2012-03-21 10:58:43 +00:00
parent 94b6730697
commit c96952a369
2 changed files with 12 additions and 1 deletions

View File

@@ -317,6 +317,15 @@ EOF
changeMonth: true,
changeYear: true
});
$(".datetime-pick").datepicker({
showOn: 'button',
buttonImage: '../images/calendar.png',
buttonImageOnly: true,
dateFormat: 'yy-mm-dd 00:00:00',
constrainInput: false,
changeMonth: true,
changeYear: true
});
// Restore the persisted sortable order, for all sortable lists... if any
$('.sortable').each(function()
{