Skip to content
Snippets Groups Projects
Commit fd6fabf1 authored by Tomáš's avatar Tomáš
Browse files

fix month

parent e8209b25
Branches
No related tags found
No related merge requests found
Pipeline #10567 passed
...@@ -190,7 +190,7 @@ const fillCanvas = async () => { ...@@ -190,7 +190,7 @@ const fillCanvas = async () => {
const formattedBirthDate = ( const formattedBirthDate = (
birthDate.getDate() birthDate.getDate()
+ ". " + ". "
+ birthDate.getMonth() + birthDate.getMonth() + 1
+ ". " + ". "
+ birthDate.getFullYear() + birthDate.getFullYear()
); );
...@@ -302,7 +302,7 @@ $(window).ready( ...@@ -302,7 +302,7 @@ $(window).ready(
$("#current-date").val( $("#current-date").val(
currentDate.getDate() currentDate.getDate()
+ ". " + ". "
+ currentDate.getMonth() + currentDate.getMonth() + 1
+ ". " + ". "
+ currentDate.getFullYear() + currentDate.getFullYear()
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment