Hi there,
I'm using the Timeline and I(and indeed our customers at first) noticed that its week numbers are not calculated with respect to the selected localization.
As stated in https://en.wikipedia.org/wiki/Week#Week_numbering, the first calendar week in europe is the one that includes the 4th of january.
When usin the frameworkMessages_de.properties locale, the first calendar week 2016 ends at january 3rd. This can be seen when executing the appended example code.
This happens with the latest nightly build SmartClient_v100p_2015-11-16_Pro and all browsers.
Here is the Code for reproduction
Best Regards
I'm using the Timeline and I(and indeed our customers at first) noticed that its week numbers are not calculated with respect to the selected localization.
As stated in https://en.wikipedia.org/wiki/Week#Week_numbering, the first calendar week in europe is the one that includes the 4th of january.
When usin the frameworkMessages_de.properties locale, the first calendar week 2016 ends at january 3rd. This can be seen when executing the appended example code.
This happens with the latest nightly build SmartClient_v100p_2015-11-16_Pro and all browsers.
Here is the Code for reproduction
Code:
isc.Timeline.create({ "ID" : "timeline_1", "startDate" : new Date(2016, 0, 1), "endDate" : new Date(2016, 0, 31), "headerLevels" : [{ "unit" : "week" }, { "unit" : "day" } ], "firstDayOfWeek" : 1, "weekPrefix" : "Calendar Week ", "dayPrefix" : "Day " })
Comment