From 82a7354a848a26021afd3a889cefd65db7693eb9 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 8 May 2018 00:01:48 +0200 Subject: [website] bugfix; supporters weren’t being shown. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/resources/js/supporters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'website/resources/js') 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; } -- cgit