Код: Выделить всё
const categories = weatherData.map(entry => new Date(entry.timestamp + 'Z').getTime()); Подробнее здесь: https://stackoverflow.com/questions/794 ... highcharts
Код: Выделить всё
const categories = weatherData.map(entry => new Date(entry.timestamp + 'Z').getTime());