diff options
Diffstat (limited to 'website/resources/js')
-rw-r--r-- | website/resources/js/supporters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/resources/js/supporters.js b/website/resources/js/supporters.js index 07319226..58db28cc 100644 --- a/website/resources/js/supporters.js +++ b/website/resources/js/supporters.js @@ -26,7 +26,7 @@ function toDate(s) { var x = /^(\d{4})-(\d{2})-(\d{2})$/.exec(s); - if (x) return new Date(parseInt(x[1]), parseInt(x[2]), parseInt(x[3])); + if (x) return new Date(parseInt(x[1]), parseInt(x[2]) - 1, parseInt(x[3])); return null; } |