Skip to content

Skips Tomorrow in Forecast #27

@AllenM001

Description

@AllenM001

The day for today is taken from the first 3 hour forecast. If it is after 9:00pm it will return tomorrows day instead of today. strDate() should be used instead. In the section "Get 3 hourly index at start of next day" replace this:
String today = forecast->dt_txt[0].substring(8, 10);
with this:
String today = strDate(now()).substring(4, 6);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions