Calendar Week View Question: Multi-day schedule duration seems incorrect
Hello, 你好,
I'm having trouble understanding how the week view in the calendar calculates and displays the duration for multi-day items. I've set up two test schedules with different end times, and they are displayed in a way I did not expect.我很难理解日历中的周视图如何计算和显示多日项目的持续时间。我设置了两个不同结束时间的测试时间表,它们的显示方式出乎我的意料。
Test Case 1: Schedule 'Testline2'测试用例1:计划“Testline2”
-
Set Start/End: Jan 19, 2026, 9:00 AM to Jan 22, 2026, 5:00 PM (within the configured working hours).设置开始/结束:2026年1月19日上午9:00至2026年1月22日下午5:00(在配置的工作时间内)。
-
Expected Display: Should span four days: 19th, 20th, 21st, and 22nd.预计展期:19日、20日、21日、22日四天。
-
Actual Display: In the week view, its bar visually extends to cover Jan 23rd as well, spanning an extra day.实际显示:在周视图中,它的栏在视觉上也延伸到1月23日,跨越了额外的一天。
Test Case 2: Schedule 'Testlink3' (for comparison)测试用例2:计划“Testlink3”(用于比较)
-
Set Start/End: Jan 19, 2026, 12:00 AM to Jan 22, 2026, 11:00 PM.设置开始/结束:2026年1月19日,上午12:00至2026年1月22日,晚上11:00。
-
Expected Display: Should also span the same four days.预期显示:也应跨越相同的四天。
-
Actual Display: Its bar correctly ends on Jan 22nd, as expected.实际显示:正如预期的那样,它的酒吧正确地在1月22日结束。

-
My Question: 我的问题:
Why would Testline2, which ends at 5:00 PM (during working hours), appear to extend into the 23rd, while Testlink3, which ends later at 11:00 PM, displays correctly on the 22nd? Is there a specific logic or setting in the week view that calculates the visual end date differently?为什么结束于下午5点(工作时间)的 ;<b0></b0>;似乎会延续到23日,而结束于晚11点的 ;< </b1>;在22日正确显示?周视图中是否存在以不同方式计算可视结束日期的特定逻辑或设置?
Environment/Context: 环境/背景:
-
This might be related to the configured working hours in the system.这可能与系统中配置的工作时间有关。
-
I am testing this on [Your Version/Instance, e.g., Workfront or specific app name].我正在测试这个[你的版本/实例,例如,前台或特定的应用程序名称]。
Has anyone else observed this behavior or can shed some light on the rules the week view uses for drawing multi-day items? Any insights would be greatly appreciated.有没有其他人观察到这种行为,或者可以阐明周视图用于绘制多日项目的规则?任何见解将不胜感激。
Thank you in advance for your help!提前感谢您的帮助!