Pour rendre la datetime toujours ltr
<style>
.form-group .pull-right *
{
direction: ltr !important;
}
</style>
/* Note: the most important is the "*" thing. */
/* Extra information fot the bootstrap datetime */
<script>
$('.datetime').datetimepicker({
format: 'YYYY-MM-DD HH:mm:ss',
locale: 'en',
sideBySide: true,
showClose: true,
widgetPositioning: {
horizontal: '{{ Config::get('app.locale') == 'en' ? 'left' : 'right'}}',
vertical: 'bottom'
},
toolbarPlacement: 'bottom',
icons: {
up: 'fas fa-chevron-up',
down: 'fas fa-chevron-down',
previous: 'fas fa-chevron-left',
next: 'fas fa-chevron-right',
close: 'fas fa-check fa-lg'
}
});
</script>
Make Your Own Project