Skip to content

Correctness issue with weekly display #106

@blobberim

Description

@blobberim

Hi, seeing some issue with the weekly display where the task bars are not assigned to the correct weeks (perhaps when spanning a year boundary, week-number issue?)

to reproduce:

roadmap.set_timeline(TimelineMode.WEEKLY, start="2024-11-01", number_of_items=24, show_first_day_of_week=True) 

group = roadmap.add_group("Core Product Work Stream")

group.add_task("Base Functionality", "2024-12-01", "2025-01-05")
group.add_task("Enhancements", "2025-01-06", "2025-03-31")

Even though the second task starts the day after the first one ends, it looks like there is a week in between (show_first_day_of_week False as well):

Image

Windows and Mac, python 3.11, dateutil 2.9.0.post0, Aussie locale settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions