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