title: Change direction of input type="datetime-local to RTL
body: <p>I have tried to change its direction using direction:rtl in CSS and dir=&quot;rtl&quot; as an attribute but in vain.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="datetime-local"&gt;</code></pre>
  </div>
  </div>
  </p>
  <p><a href="https://i.stack.imgur.com/ooxEN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ooxEN.png" alt="enter image description here" /></a></p>