We've tried to make the property workingTime work in our timeline but none of the attempts have work. Based on the documentation it's not clear what is it expecting as values. No matter what we put in there, the working hours are always set from 8am to 5pm as a default behavior
What we want to do is rendering (in the week view) the 7 days in different working hours (dynamically configurable). Could you provide us some example on how to achieve this specifying the data type please?
Thank you very much!
Attachments
Week view. 8am-5pm as default behavior
Screen Shot 2023-06-08 at 6.22.07 PM.png (41.39 KiB) Viewed 613 times
Day view. 8am - 5pm as default behavior
Screen Shot 2023-06-08 at 6.21.41 PM.png (31.42 KiB) Viewed 613 times
Actually it seems to fail when I set a toHour earlier than the current hour. So right now anything before 3pm (in my case) doesn't work. Same error message
I tested your demo with hours you provided and just works fine here.
Now local time is 11AM, so I tried 7:00 and later up to 15:00 and it just works with no errors. Could you please check and clarify steps to reproduce?
I'm still able to reproduce this bug easily, just by changing the toHour value from this setup
workingTime: {
fromHour: 7,
toHour: 13,
},
I move it from 13 to 14 (being right now 1:36pm) and it switches to either works fine (when 14 is set) to that same error we put before when 13 is set. That's all we need to do to reproduce this error
Hi, yes, now I see the problem. I was not able to reproduce this on vanilla demos, so that might be related to Vite/Vue. Here is the ticket https://github.com/bryntum/support/issues/6995
You can subscribe on ticket updates to be notified when it's done.