jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

Inline default value

Open musickid43 opened this issue 11 years ago • 4 comments
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.

musickid43 avatar Jul 27 '14 14:07 musickid43

$('#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

WilliamStam avatar Sep 05 '14 08:09 WilliamStam

This still seems to be an issue.

756gzdz5 avatar Apr 23 '15 13:04 756gzdz5

+1

benjaminfunk avatar Oct 21 '15 13:10 benjaminfunk

Ran in to this also. If anyone finds a fix please post it.

systemdarena avatar Jan 18 '19 12:01 systemdarena