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;