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

shorter weekdays (e.g. weekdays="[2,3,4,5,6]") breaks many things ... #418

Open
yeechutngeow opened this issue May 25, 2023 · 0 comments
Open

Comments

@yeechutngeow
Copy link

yeechutngeow commented May 25, 2023

For example if I wanted to not show Sunday and Monday, i.e. setting weekdays="[2,3,4,5,6]", many things break. These are the issues I identified:

  • with view="week", 5 days is displayed, however the week alignment is all wrong, the starting day could be any day.
  • prev(), next() moves 5 days, but the counting includes the days not to be shown, so the next view will be 2 days earlier than it should be. I.e. if current view is showing [May 19 ... May 25], next() will show [May 24 ... May 30].
  • with view="day", next() will move the days like thus [Thu, Fri, Tue, Tue, Wed, Thu, ...]
  • prev() will move the days like thus: [Wed, Tue, Tue, Tue, Sat, Fri, ...]

QCalendar is not usable as yet. It's a pitty...

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