Browse Source

Add document of date pipes

pull/11912/head
Mahmut Gundogdu 4 years ago
parent
commit
d484affc5b
  1. 29
      docs/en/UI/Angular/DateTime-Format-Pipe.md

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

@ -0,0 +1,29 @@
# DateTime Format Pipes
You can format date by Date pipe of angular.
Example
```html
<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 Pipe
```html
<span> {{today | shortDatePipe }}</span>
```
# ShortTime Pipe
```html
<span> {{today | shortTimePipe }}</span>
```
# ShortDateTime Pipe
```html
<span> {{today | shortDateTimePipe }}</span>
```
Loading…
Cancel
Save