From 9de2bba12634a61c2a9ea6b0eeff8de9ebed8db0 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 30 Nov 2015 17:31:59 +0000 Subject: [PATCH] Fix could not scroll to next year with certain date format preferences --- calendar/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index 90fae5ae42..d92522ebc4 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -2549,7 +2549,7 @@ app.classes.calendar = AppJS.extend( } if (first.getFullYear() != last.getFullYear() && datefmt[0] != 'Y') { - range += (datefmt[0] != 'd' ? ', ' : ' ') . first.getFullYear(); + range += (datefmt[0] != 'd' ? ', ' : ' ') + first.getFullYear(); } if (display_time) {