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
VisibleDateRange.days(7,...)
behavior
#93
Comments
I actually came across this 'issue' before. So the workaround is to actually set Edit: |
I'm not sure if I understand correctly. I want the If I wanted to set the
There is, however, a problem with the second solution: Which dates should you choose? Should you choose 2 days before the Now, to my issue again: I wanted to show everything between Because of these reasons, I still think that this is a bug. Please correct me if I am wrong. |
With Regarding the case of Timetable, therefore, uses the second approach. The visible range is hereby aligned as far left as possible in the visible area, as far as |
Thank you very much! I can confirm that both bugs are fixed in the new update :) |
Describe the bug
If I use a
VisibleDateRange.days
orVisibleDateRange.weeks
and set theirmaxDate
, the calculations seem to be slightly off what I expect. For example, if I use aVisibleDateRange.days(7,...)
and set itsminDate
totoday
andmaxDate
to be 9 days in the future, the shownmaxDate
ends up at 15 days in the future. If you want to see the code, this is the line I am talking about.The
MultiDateTimetableContent
seems to be working correctly, but theDateHeader
behaves somehow weird.As shown below, in the videos section, for some reason, the day range gets added to the
maxDate
, which is counterintuitive in this case.Taken from #91. Here now reported as a separate bug.
Videos
In the video I show the following behavior:
maxDate
tominDate + 9.days
withVisibleDateRange.days(7)
yields 16 shown dates (9 + 7 = 16
)maxDate
tominDate + 10.days
withVisibleDateRange.days(7)
yields 17 shown dates (10 + 7 = 17
)maxDate
tominDate + 1.days
withVisibleDateRange.days(7)
yields 8 shown dates (1 + 7 = 8
)https://www.youtube.com/watch?v=Lk7zecYq4L8
Environment:
The text was updated successfully, but these errors were encountered: