Commit 0b8f4cd2 authored by Marco Mariani's avatar Marco Mariani

fixed getDay() -> getDate()

parent 4cba063d
......@@ -40,7 +40,7 @@
return (
(a.getFullYear() === b.getFullYear()) &&
(a.getMonth() === b.getMonth()) &&
(a.getDay() === b.getDay())
(a.getDate() === b.getDate())
);
},
sameMonth: function (a, b) {
......
......@@ -86,7 +86,7 @@
return (
(a.getFullYear() === b.getFullYear()) &&
(a.getMonth() === b.getMonth()) &&
(a.getDay() === b.getDay())
(a.getDate() === b.getDate())
);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment