bootstrap-datetimepicker show date only
问题 I am using this repo by smalot and I want to select and show date only (for some other places I am showing data and time, therefore selecting this repo). I can manage to use it for selecting date only but the generated date string is always yyyy-mm-dd hh:ii . And if I did not understand wrongly the format option is for parsing the initial date only but not setting dates. <div class="input-group date datetime dateonly" data-start-view="2" data-min-view="2" style="margin-bottom: 0;"> <input