How to format date into Arabic with English numerals for date and year in JavaScript?
<p>I want the date to be formatted in the following format: </p>

<blockquote>
  <p>date: 2016-12-04 into الأحد، 4 ديسمبر، 2016</p>
</blockquote>

<p>But I'm getting the following. The numbers are converted to Arabic numerals. I want the date and year in English numerals:</p>

<blockquote>
  <p>الأحد، ٤ ديسمبر، ٢٠١٦</p>
</blockquote>

<p>I have used the following code to format the date to Arabic.</p>

<pre><code>var date = new Date('2016-12-04');
options = {
           weekday: 'long',
           year: 'numeric',
           month: 'short',
           day: 'numeric',
          };
var dateString = date.toLocaleDateString('ar-SA', options);
alert(dateString);
</code></pre>