<span> {{#date}} <script> { const date = new Date(+"{{year}}", +"{{month}}" - 1, +"{{day}}"); document.currentScript.outerHTML = date.toLocaleDateString( navigator.language || navigator.userLanguage, { year: "numeric", month: "long", day: "numeric", } ); } </script> {{/date}} </span>