lass="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">localizeDate</span>(<span class="hljs-params">lang, year, month</span>)
</span>{
    <span class="hljs-keyword">const</span> dateTimeFormat = <span class="hljs-keyword">new</span> <span class="hljs-built_in">Intl</span>.DateTimeFormat(lang, {
        weekday: <span class="hljs-string">&apos;long&apos;</span>,
        year: <span class="hljs-string">&apos;numeric&apos;</span>,
        month: <span class="hljs-string">&ap