Skip to content

Commit 68f8ee8

Browse files
committed
2 parents 86ec5cf + 9c0e477 commit 68f8ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,13 +725,13 @@
725725
**[⬆ Back to Top](#table-of-contents)**
726726
727727
29. ### What is a parameterized pipe?
728-
A pipe can accept any number of optional parameters to fine-tune its output. The parameterized pipe can be created by declaring the pipe name with a colon ( : ) and then the parameter value. If the pipe accepts multiple parameters, separate the values with colons. Let's take a birthday example with a particular format(dd/mm/yyyy):
728+
A pipe can accept any number of optional parameters to fine-tune its output. The parameterized pipe can be created by declaring the pipe name with a colon ( : ) and then the parameter value. If the pipe accepts multiple parameters, separate the values with colons. Let's take a birthday example with a particular format(dd/MM/yyyy):
729729
```javascript
730730
import { Component } from '@angular/core';
731731
732732
@Component({
733733
selector: 'app-birthday',
734-
template: `<p>Birthday is {{ birthday | date:'dd/mm/yyyy'}}</p>` // 18/06/1987
734+
template: `<p>Birthday is {{ birthday | date:'dd/MM/yyyy'}}</p>` // 18/06/1987
735735
})
736736
export class BirthdayComponent {
737737
birthday = new Date(1987, 6, 18);

0 commit comments

Comments
 (0)