This commit is contained in:
parent
e42c5492e8
commit
03602b660f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
{{#date}}
|
{{#date}}
|
||||||
<script>
|
<script>
|
||||||
{
|
{
|
||||||
const date = new Date(+"{{year}}", +"{{month}}", +"{{day}}");
|
const date = new Date(+"{{year}}", +"{{month}}" - 1, +"{{day}}");
|
||||||
document.currentScript.outerHTML = date.toLocaleDateString(
|
document.currentScript.outerHTML = date.toLocaleDateString(
|
||||||
navigator.language || navigator.userLanguage,
|
navigator.language || navigator.userLanguage,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue