googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

Days are incorrect in forecast (weather is shifted by one day) #90

Closed vued closed 5 years ago

vued commented 7 years ago

The days in the forecast are incorrect / shifted by one day.

The JSON of the yahoo API contains today as the first forecast-day, so the weather forecast is shifted by one day.

To correct this, you can start the weekdays with Sunday or skip the first forecast entry of the JSON file.

petele commented 5 years ago

Hi!

Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, and the new guide is now live.

If you find any issues with the new codelab, please let us know!

Thanks!