0
votes

I am using Angular bootstrap datetimepicker: https://dalelotts.github.io/angular-bootstrap-datetimepicker/

I am going to disable "time", want to enable only date. I am using this option:

<datetimepicker ng-model="pageData.currentNote.date" data-datetimepicker-config="{ dropdownSelector: '#dropdown', startView:'day', minView:'day' }"></datetimepicker>

Time select Panel is removed , but I am getting time field:

Thu Sep 07 2017 00:00:00 GMT-0400 (EDT)

I don't want time field. Any solution to remove this?

1
you can using javascript to format datetime.w3schools.com/js/js_date_formats.aspHamed Javaheri

1 Answers

1
votes

This control you have selected looks like a date time picker specific to its function of selecting a date and then a time.

You should really look into https://angular-ui.github.io/bootstrap/ and specifically https://angular-ui.github.io/bootstrap/#!#datepicker

This is a great toolset to use for Angular 1