Browse Source

Merge pull request #14439 from abpframework/Scriban-Render-Problem-#14383

Scriban render problem #14383
pull/14450/head
Alper Ebiçoğlu 4 years ago
committed by GitHub
parent
commit
220016aef6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/en/UI/Angular/DateTime-Format-Pipe.md
  2. 2
      modules/docs/src/Volo.Docs.Web/Volo.Docs.Web.csproj

10
docs/en/UI/Angular/DateTime-Format-Pipe.md

@ -1,3 +1,4 @@
{%{
# DateTime Format Pipes # DateTime Format Pipes
You can format date by Date pipe of angular. You can format date by Date pipe of angular.
@ -5,7 +6,7 @@ You can format date by Date pipe of angular.
Example Example
```html ```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. 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 # ShortDate Pipe
```html ```html
<span> {{today | shortDatePipe }}</span> <span>{{today | shortDatePipe }}</span>
``` ```
# ShortTime Pipe # ShortTime Pipe
```html ```html
<span> {{today | shortTimePipe }}</span> <span>{{today | shortTimePipe }}</span>
``` ```
# ShortDateTime Pipe # ShortDateTime Pipe
```html ```html
<span> {{today | shortDateTimePipe }}</span> <span>{{today | shortDateTimePipe }}</span>
``` ```
}%}

2
modules/docs/src/Volo.Docs.Web/Volo.Docs.Web.csproj

@ -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="..\..\..\..\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" /> <ProjectReference Include="..\Volo.Docs.Application.Contracts\Volo.Docs.Application.Contracts.csproj" />
<PackageReference Include="Markdig.Signed" Version="0.26.0" /> <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)" /> <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="$(MicrosoftPackageVersion)" />
</ItemGroup> </ItemGroup>

Loading…
Cancel
Save