-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed as not planned
Labels
area-ui-renderingIncludes: MVC Views/Pages, Razor Views/PagesIncludes: MVC Views/Pages, Razor Views/PagesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-spafeature-templates
Milestone
Description
You should be using a date pipe in fetch-data.component.html at line 18, the fix is shown below
<tr *ngFor="let forecast of forecasts">
<td>{{ forecast.date | date }}</td>
or complete with time part
<tr *ngFor="let forecast of forecasts">
<td>{{ forecast.date | date :'medium' }}</td>
It looks quite better - either just a date
or date and time -
than the original vanilla version in ISO format
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 32a18270-91cd-2a02-2eb8-2c8b1ed03737
- Version Independent ID: c58d57e5-a0c2-201d-f6dd-076ad5971fcb
- Content: Use the Angular project template with ASP.NET Core
- Content Source: aspnetcore/client-side/spa/angular.md
- Product: aspnet-core
- Technology: aspnetcore-clientside
- GitHub Login: @SteveSandersonMS
- Microsoft Alias: stevesa
Metadata
Metadata
Assignees
Labels
area-ui-renderingIncludes: MVC Views/Pages, Razor Views/PagesIncludes: MVC Views/Pages, Razor Views/PagesenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-spafeature-templates