</p>
<pre><code class="lang-javascript"><span class="hljs-comment">//</span>
<span class="hljs-comment">//   localizeDate(&apos;sr-RS&apos;, 12, 5) === &quot;&#x43F;&#x435;&#x442;&#x430;&#x43A;, 1. &#x458;&#x443;&#x43D; 2012.&quot;</span>
<span class="hljs-comment">//   localizeDate(&apos;en-GB&apos;, 12, 5) === &quot;Friday, 1 June 2012&quot;</span>
<span class="hljs-comment">//   localizeDate(&apos;en-US&apos;, 12, 5) === &quot;Friday, June 1, 2012&quot;</span>
<span class="hljs-comment">//</span>
<span c