Skip to content

Commit

Permalink
fix: update relativePeriods offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
BRaimbault authored Dec 6, 2024
1 parent b50ecdc commit 6b591a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/PeriodDimension/utils/relativePeriods.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const getWeeksPeriodType = () => [
{
id: WEEKS_THIS_YEAR,
name: i18n.t('Weeks this year'),
offset: 0,
offset: 51,
duration: 52,
},
]
Expand Down Expand Up @@ -118,7 +118,7 @@ const getMonthsPeriodType = () => [
{
id: 'MONTHS_THIS_YEAR',
name: i18n.t('Months this year'),
offset: 0,
offset: 11,
duration: 12,
},
]
Expand All @@ -145,7 +145,7 @@ const getBiMonthsPeriodType = () => [
{
id: 'BIMONTHS_THIS_YEAR',
name: i18n.t('Bi-months this year'),
offset: 0,
offset: 5,
duration: 6,
},
]
Expand All @@ -172,7 +172,7 @@ const getQuartersPeriodType = () => [
{
id: 'QUARTERS_THIS_YEAR',
name: i18n.t('Quarters this year'),
offset: 0,
offset: 3,
duration: 4,
},
]
Expand Down

0 comments on commit 6b591a8

Please sign in to comment.