Dear support team,
I've added the DateTimePicker into my code as follows and it works fine:
use \koolreport\inputs\DateTimePicker; ... ...
<div class="form-group" style="width:250px;margin-right:10px;">
<?php DateTimePicker::create(array(
"name"=>"vonDatum",
//"maxDate"=>"@endDatePicker",
"format"=>"DD.MM.YYYY",
//"todayBtn"=>true
));
?>
</div>
<div class="form-group" style="width:250px;margin-right:10px;">
<?php DateTimePicker::create(array(
"name"=>"bisDatum",
//"minDate"=>"@startDatePicker",
"format"=>"DD.MM.YYYY"
));
?>
</div>
I would like to do 2 things:
- Add a "Today" button for changing automaticall today's date (I tried it above with "today"=>true , but without any success!)
- Change the localization for the days, months etc. from EN to DE (German language).
How can I do this?
Kind regards