Hi Peter,
Thank you for quick reply.
Ok, thanks for the advice. Event though that’s not really the point of this thread. The problem with crashed/lagged Safari occurs even when the range is only 24 hours (1440 minutes = 1440 points) – this is for 2019/03/31 00:00:00 – 2019/04/01 00:00:00, in this case would only be 23 hours because of the time change.
And when the date does not contain time change, it works really fine.
You can try that yourself if you edit line 5 of the example I gave:
const date = new Date(2019, 02, i, j, (j*10)%60, 0);
change to:
const date = new Date(2019, 03, i, j, (j*10)%60, 0);
and it won’t crash Safari anymore.
Thanks a lot,
Vojta