stable

Clone or download

Read-only

Use UTC to compute dates

Else months timeperiod can be screwed up. To reproduce, in Europe/Paris timezone: Today: 20210331 Task A: [20210401, 20210409] Task B: [20210412, 20210423] Task C: [20210426, 20211031] Part of story #19734: have a Roadmap widget on dashboard Change-Id: I13b211ca4a88d12f37cbb81cbe27f6e40f044bfb

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-month.test.ts +36 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-month.ts +11 −6 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-quarter.ts +8 −13 Go to diff View file