Fix weather date (#11983)

This commit is contained in:
Ryan Brandenburg 2019-07-11 15:03:59 -07:00 committed by GitHub
parent 63640c2886
commit b395c2e734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
</thead>
<tbody>
<tr *ngFor="let forecast of forecasts">
<td>{{ forecast.dateFormatted }}</td>
<td>{{ forecast.date }}</td>
<td>{{ forecast.temperatureC }}</td>
<td>{{ forecast.temperatureF }}</td>
<td>{{ forecast.summary }}</td>

View File

@ -16,7 +16,7 @@ export class FetchDataComponent {
}
interface WeatherForecast {
dateFormatted: string;
date: string;
temperatureC: number;
temperatureF: number;
summary: string;