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

fix month

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