Fix weather date (#11983)
This commit is contained in:
parent
63640c2886
commit
b395c2e734
|
|
@ -15,7 +15,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let forecast of forecasts">
|
<tr *ngFor="let forecast of forecasts">
|
||||||
<td>{{ forecast.dateFormatted }}</td>
|
<td>{{ forecast.date }}</td>
|
||||||
<td>{{ forecast.temperatureC }}</td>
|
<td>{{ forecast.temperatureC }}</td>
|
||||||
<td>{{ forecast.temperatureF }}</td>
|
<td>{{ forecast.temperatureF }}</td>
|
||||||
<td>{{ forecast.summary }}</td>
|
<td>{{ forecast.summary }}</td>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ export class FetchDataComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface WeatherForecast {
|
interface WeatherForecast {
|
||||||
dateFormatted: string;
|
date: string;
|
||||||
temperatureC: number;
|
temperatureC: number;
|
||||||
temperatureF: number;
|
temperatureF: number;
|
||||||
summary: string;
|
summary: string;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue