angular-bootstrap-datetimepicker-directive icon indicating copy to clipboard operation
angular-bootstrap-datetimepicker-directive copied to clipboard

defaultDate option is not working

Open lghiur opened this issue 8 years ago • 1 comments

Hello,

I'm trying to display a default date when the input is first time displayed, but apparently that option is not taken into consideration.

<input type="text" class="form-control input-sm" datetimepicker ng-model="date.startDate" datetimepicker-options="{ defaultDate: '11/1/2013', format:'M/D/YYYY h:mm a' }" placeholder="...">

expected result: the input should show '11/1/2013' value actual behavior: the input shows '...'

Can you please advise @diosney, maybe I'm doing something wrong.

Thank you, Laurentiu

lghiur avatar Jan 25 '17 12:01 lghiur

Hi, have you ever figured out how to set the default date?

atalis avatar Nov 28 '18 22:11 atalis