Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Direction: rtl, Date alignment issue

When I use direction:rtl for the Arabic view, the details on the date are not in showing incorrect order. E.g. in ltr it's showing like 03 February 2016 but in rtl it's wrongly aligned as February 2016 03.

div {
  font-size: 20px;
}
<div style="direction:rtl;">
  03 February 2016
</div>

Is there any way to rectify it. Or it's just the natural way of showing date in the Arabic view?

like image 297
Akhil Chandran Avatar asked Sep 07 '25 02:09

Akhil Chandran


1 Answers

Answering your next question:

  <div style="float:left; direction:rtl;">
    &#x202b;03 February &#x202c;2016
  </div>
like image 175
Basheer Avatar answered Sep 10 '25 02:09

Basheer