Fix weather.json (#20769)

Removed "temperatureF" elements from weather.json as WeatherForecast class calculates the Fahrenheit temperature internally from the retrieved Celcius temperature and not from the retrieved json data.
This commit is contained in:
ar0311 2020-04-16 02:37:33 +10:00 committed by GitHub
parent 87050c9bb4
commit 4c312e1d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 10 deletions

View File

@ -2,31 +2,26 @@
{ {
"date": "2018-05-06", "date": "2018-05-06",
"temperatureC": 1, "temperatureC": 1,
"summary": "Freezing", "summary": "Freezing"
"temperatureF": 33
}, },
{ {
"date": "2018-05-07", "date": "2018-05-07",
"temperatureC": 14, "temperatureC": 14,
"summary": "Bracing", "summary": "Bracing"
"temperatureF": 57
}, },
{ {
"date": "2018-05-08", "date": "2018-05-08",
"temperatureC": -13, "temperatureC": -13,
"summary": "Freezing", "summary": "Freezing"
"temperatureF": 9
}, },
{ {
"date": "2018-05-09", "date": "2018-05-09",
"temperatureC": -16, "temperatureC": -16,
"summary": "Balmy", "summary": "Balmy"
"temperatureF": 4
}, },
{ {
"date": "2018-05-10", "date": "2018-05-10",
"temperatureC": -2, "temperatureC": -2,
"summary": "Chilly", "summary": "Chilly"
"temperatureF": 29
} }
] ]