Join GitHub today
[alpha2] Events not in order by start time in print version #4432
If you compare the behavior of the print feature (CTRL+P):
You will notice that since alpha2, the order of events is not correct into the printed preview/page. Indeed, the first event being printed is:
Although the first event of the day is:
I suspect that we loose something by removing Momentjs and that the dates are now sorted out by alpha instead of date or their timestamp.
Thanks for the clarification, I was having trouble seeing the print preview but see the issue now and made a simplified test case:
It seems the events are now printed in the order they are defined instead of when they start.
changed the title
[alpha3] Print / Event order Regression between alpha1 and alpha3
Jan 2, 2019
In order to avoid any confusion, I'd like to clarify that adding timezone to dates has nothing to do with this issue. I've forked your last pen and:
And it is working fine: https://codepen.io/bbalet/pen/yGvqde?editors=0010
So the workaround while waiting for the patch is to sort the events with a simple code such as:
Thanks for the workaround.
Regarding the timezone, the issue that I get is that the events are not in the correct place in your alpha3 example so the calendar looks mostly empty. I'm guessing you are in the same timezone (+7) which is why you don't see that issue.