Closed
Description
Describe the bug
Timeline doesn't generate proper intervals like it does in v0.28.
To Reproduce
- Create project with react-calendar-timeline (v0.30.0-beta.1 or v0.30.0-beta.2)
- Render any calendar with
timeSteps={{
second: 1,
minute: 1,
hour: 4,
day: 1,
month: 1,
year: 1,
}} - Zoom in to see hours on timeline.
- Timeline sometimes doesn't render proper intervals (for example, 23:00, 03:00, 07:00, 11:00, 15:00, 19:00 instead of 00:00, 04:00, 08:00, 12:00, 16:00, 20:00).
https://codesandbox.io/p/sandbox/timeline-demo-timesteps-bug-kw8wpg (it's example with v0.28 because v0.30.0-beta.1 fails in codesandbox)
Library Version
v0.30.0-beta.1
v0.30.0-beta.2
Metadata
Metadata
Assignees
Labels
No labels