quasar-ui-qcalendar icon indicating copy to clipboard operation
quasar-ui-qcalendar copied to clipboard

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

Open yeechutngeow opened this issue 2 years ago • 0 comments

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...

yeechutngeow avatar May 25 '23 13:05 yeechutngeow