Skip to content
Snippets Groups Projects
Commit fd378121 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: fix timePeriod service

parent c03bc000
No related branches found
No related tags found
1 merge request!248Features/us365 change fluid navigation
...@@ -164,7 +164,7 @@ export default class TimePeriodService { ...@@ -164,7 +164,7 @@ export default class TimePeriodService {
keepLocalTime: true, keepLocalTime: true,
}) })
case TimeStep.WEEK: case TimeStep.WEEK:
return DateTime.local(startDate.year, startDate.month, 1) return DateTime.local(startDate.year, startDate.month, startDate.day)
.setZone('utc', { .setZone('utc', {
keepLocalTime: true, keepLocalTime: true,
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment