Fix could not scroll to next year with certain date format preferences

This commit is contained in:
Nathan Gray 2015-11-30 17:31:59 +00:00
parent e191075303
commit 9de2bba126

View File

@ -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)
{