jQuery-Timepicker-Addon
jQuery-Timepicker-Addon copied to clipboard
Inline default value
trafficstars
When using Inline mode with one alt field, everything defaults to today. Setting value in "defaultValue" and in the alt input's value attribute does not set the control to that datetime.
$('#publishDate_field').datetimepicker({
altField: "#publishDate",
altFieldTimeOnly: false,
altTimeFormat: "HH:mm:ss",
dateFormat: "yy-mm-dd",
showSecond: false,
stepMinute: 15,
showButtonPanel: false,
defaultDate: $("#publishDate").val()
});
it shows the default date.. but doesnt pick up the time :( 2014-08-29 15:00:00 becomes 2014-08-29 00:00:00
This still seems to be an issue.
+1
Ran in to this also. If anyone finds a fix please post it.