We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Now with local time 0:05 everything works as expected.
With local time 23:05 the hourly weather forecast is empty.
const hours = []; const now = moment(); weathers.hourly.forEach((weather, i) => { if ((hours.length === 0 && weather.time.hour() <= now.hour()) || hours.length >= this.config.maxEntries) { return; }
Did this ever work? The if statement is always true (when running 23:05) so nothing is added.
Now with local time 0:05 everything works as expected.
With local time 23:05 the hourly weather forecast is empty.
Did this ever work? The if statement is always true (when running 23:05) so nothing is added.