Updated Birthdate - Months indexed from 0, not 1

This commit is contained in:
Luke Else 2022-01-13 23:41:05 +00:00
parent 11ef6304e0
commit 183d7cc741

View File

@ -64,7 +64,7 @@
<div class="subheading mb-5">
<script>
document.write("Age: <span class='text-dark'>" + getAge(new Date(2004, 01, 12)) + "</span>")
document.write("Age: <span class='text-dark'>" + getAge(new Date("2004-01-12")) + "</span>")
</script>
<br />