Open
Description
I have used 2.7 inch waveshare epaper. However the time for the forecast are incorrect.
I changed the following
//drawString(x + 8, y - 22, WxForecast[index].Period.substring(11, 16), LEFT);
into this
drawString(x + 8, y - 22, String(ConvertUnixTime(WxForecast[index].Dt + WxConditions[0].Timezone).substring(0,5)), LEFT);
The problem has been fixed.
Metadata
Metadata
Assignees
Labels
No labels