From 52b20ff0923ff4f417d04aa36662dd1e6f4b30fb Mon Sep 17 00:00:00 2001 From: ap8351 Date: Wed, 10 Apr 2024 12:05:09 +0200 Subject: [PATCH] fix variable declaration for date parse/format docs --- docs/guide.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide.html b/docs/guide.html index 43a5d7b0..bd8fa5d8 100644 --- a/docs/guide.html +++ b/docs/guide.html @@ -901,8 +901,8 @@

Date Mask

// define date -> str convertion format: date => { - const day = date.getDate(); - const month = date.getMonth() + 1; + let day = date.getDate(); + let month = date.getMonth() + 1; const year = date.getFullYear(); if (day < 10) day = "0" + day;