diff options
author | pommicket <leonardomtenenbaum@gmail.com> | 2016-11-27 16:11:33 -0500 |
---|---|---|
committer | pommicket <leonardomtenenbaum@gmail.com> | 2016-11-27 16:11:33 -0500 |
commit | 9705e5039d3f782d5e3c5f603eac0f0379d928db (patch) | |
tree | 7ef1f8642e90bf0d0dfcb049c9373929fe6722d2 | |
parent | 2d056555ea38f4a48ff5b844a59ab69fccc5ca1e (diff) |
Fixed clock
-rw-r--r-- | js/clock.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/clock.js b/js/clock.js index 314d002..0ee3e34 100644 --- a/js/clock.js +++ b/js/clock.js @@ -19,7 +19,7 @@ function leapYear() function day365() { - var m = month(); + var m = month()-1; var currday = 0; if (m == 0) return day(); |