diff --git a/frontend/app/components/wp-table/timeline/wp-timeline.today-line.ts b/frontend/app/components/wp-table/timeline/wp-timeline.today-line.ts index ffb55662d8..78c0aa7889 100644 --- a/frontend/app/components/wp-table/timeline/wp-timeline.today-line.ts +++ b/frontend/app/components/wp-table/timeline/wp-timeline.today-line.ts @@ -36,7 +36,7 @@ export function todayLine(viewParams: TimelineViewParameters, elem: HTMLElement) elem.style.width = "2px"; elem.style.borderLeft = "2px dotted red"; const offsetToday = viewParams.now.diff(viewParams.dateDisplayStart, "days"); - const dayProgress = moment().day() / 24; + const dayProgress = moment().hour() / 24; elem.style.left = calculatePositionValueForDayCount(viewParams, offsetToday + dayProgress); elem.style.marginLeft = viewParams.scrollOffsetInPx + "px"; }