Releases: codeclou/kitchen-duty-plugin-for-atlassian-jira
Releases · codeclou/kitchen-duty-plugin-for-atlassian-jira
V3: After Migration
V3: Doc after migration
- Doc after migration
V2: Remove iso weeks from Step 04 to Step 06
What?
We used the term "iso week" but misunderstood the meaning. What we actually
wanted are week numbers of a year. With the week numbers being calculated with:
- First day of week is Sunday (en_US)
- First week of year is the week containing 1st of January (en_US)
Effects
- Step 04 to Step 6 have been changed
- JavaScript + Soy Templates:
- removed all
isoWeek()
calls to moment-js and instead used:
- removed all
// REMOVED
moment('2018-01-01').isoWeek();
// REPLACED WITH
// set locale for moment-js so that week starts on sunday
// and week numbers are correctly calculated
moment.locale('en', {
week: {
dow: 0, // Sunday (0) is the first day of the week
doy: 1 // Week that contains Jan 1st is the first week of the year.
}
});
moment('2018-01-01').week();
- refactored all occurrences of
isoWeek
variables toweek
- Java:
- refactored all occurrences of
isoWeekNumber
variables toweekNumber
- refactored all occurrences of
isoWeek
variables toweek
- Reimplemented the
BaseResource.java
code to correctly calculate weeks.
- refactored all occurrences of
Full Changes
- You can see the diff between the v1 and v2 release tag for all changes.
V2-Doc: Remove iso weeks from Step 04 to Step 06
release tag of V2 for documentation
V1: Tutorial is finally done
- The tutorial is finally done ✨
- Visit: https://comsysto.github.io/kitchen-duty-plugin-for-atlassian-jira