Alper Ebiçoğlu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
5 deletions
-
docs/en/UI/Angular/DateTime-Format-Pipe.md
-
modules/docs/src/Volo.Docs.Web/Volo.Docs.Web.csproj
|
|
|
@ -1,3 +1,4 @@ |
|
|
|
{%{ |
|
|
|
# DateTime Format Pipes |
|
|
|
|
|
|
|
You can format date by Date pipe of angular. |
|
|
|
@ -5,7 +6,7 @@ You can format date by Date pipe of angular. |
|
|
|
Example |
|
|
|
|
|
|
|
```html |
|
|
|
<span> {{today | date 'dd/mm/yy'}}</span> |
|
|
|
<span>{{today | date 'dd/mm/yy'}}</span> |
|
|
|
``` |
|
|
|
|
|
|
|
ShortDate, ShortTime and ShortDateTime format data like angular's data pipe but easier. Also the pipes get format from config service by culture. |
|
|
|
@ -13,17 +14,18 @@ ShortDate, ShortTime and ShortDateTime format data like angular's data pipe but |
|
|
|
# ShortDate Pipe |
|
|
|
|
|
|
|
```html |
|
|
|
<span> {{today | shortDatePipe }}</span> |
|
|
|
<span>{{today | shortDatePipe }}</span> |
|
|
|
``` |
|
|
|
|
|
|
|
# ShortTime Pipe |
|
|
|
|
|
|
|
```html |
|
|
|
<span> {{today | shortTimePipe }}</span> |
|
|
|
<span>{{today | shortTimePipe }}</span> |
|
|
|
``` |
|
|
|
|
|
|
|
# ShortDateTime Pipe |
|
|
|
|
|
|
|
```html |
|
|
|
<span> {{today | shortDateTimePipe }}</span> |
|
|
|
<span>{{today | shortDateTimePipe }}</span> |
|
|
|
``` |
|
|
|
}%} |
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared\Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Docs.Application.Contracts\Volo.Docs.Application.Contracts.csproj" /> |
|
|
|
<PackageReference Include="Markdig.Signed" Version="0.26.0" /> |
|
|
|
<PackageReference Include="Scriban" Version="4.0.1" /> |
|
|
|
<PackageReference Include="Scriban" Version="5.5.0" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="$(MicrosoftPackageVersion)" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|