Код: Выделить всё
const jsDate = new Date();
const year = jsDate.getFullYear();
const month = jsDate.getMonth() + 1;
const day = jsDate.getDate();
const start = new Date(`${year}-${month}-${day}`);
console.log('start', start);
в браузерах iPhone, он печатает start - неверная дата .
Подробнее здесь: https://stackoverflow.com/questions/797 ... and-chrome