js: fix off-by-one error in birthday script

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2023-02-07 23:24:02 -05:00
parent 39a2fb3740
commit 7f3de55234

View file

@ -109,7 +109,7 @@ loop();
const birthday = {
date: 19,
month: 1,
month: 0,
year: 2001,
}
const today = new Date();