Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dated item are offsetted by 1 month #949

Open
lavoiekeven opened this issue Dec 28, 2024 · 0 comments
Open

Dated item are offsetted by 1 month #949

lavoiekeven opened this issue Dec 28, 2024 · 0 comments

Comments

@lavoiekeven
Copy link

lavoiekeven commented Dec 28, 2024

image

image

In this exemple there is 3 dated items:

start_time: 2024-12-28T05:00:00.000Z
end_time: 2024-12-29T04:59:59.000Z

start_time: 2024-12-27T05:00:00.000Z
end_time: 2024-12-28T04:59:59.000Z

start_time: 2024-12-31T05:00:00.000Z
end_time: 2025-01-03T04:59:59.000Z

But they are displayed in january 2025.

Version used:
"react-calendar-timeline": "^0.30.0-beta.2",

Code:
<Timeline visibleTimeStart={visibleTime.start} visibleTimeEnd={visibleTime.end} canMove={false} canResize={false} stackItems itemTouchSendsClick={false} onItemDoubleClick={handleItemDoubleClick} groups={timeLineData.groups} items={timeLineData.items} > <TimelineMarkers> </TimelineMarkers> </Timeline>

Also TimelineMarkers are not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant