Closed yussieik closed 2 years ago
[Solved] Had to add dir="ltr" in the HTML
<div class="input-group date my-custom-class" dir="ltr">
{% include "bootstrap_datepicker_plus/input.html" %}
<div class="input-group-addon input-group-append">
<div class="input-group-text"><i class="glyphicon glyphicon-time" ></i></div>
</div>
</div>
Describe the problem I am developing an app with HTML with RTL direction. Once I activated RTL on my template where the datetime_picker_plus widget sits -> It shows me the hours and minutes in opposite locations, meaning instead of seeing 20(HH):36(mm) I see 36(mm):20(HH).
I am using Django and I use the datetime_picker as a widget inside my ModelForm. The code: -- forms.py
-- date_picker.html
--base.html where from I extend to other templates
I also attached a screenshot of the browser.
As you can see the arrows are directed opposite and the hours with the minutes are at the wrong places.
Setup Information (please complete the following information):
[x] I have followed the configuration instructions and checked out the common error troubleshooting page.