mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e41a52286f
This reverts commit 9bc15994ce.
PR Close #55326
7 lines
291 B
HTML
7 lines
291 B
HTML
<p>The hero's birthday is {{ birthday | date:"shortDate" }} in the "shortDate" format.</p>
|
|
|
|
<p>The hero's birthday is {{ birthday | date:format }} in "{{format}}" format.
|
|
Click the toggle button to change formats.</p>
|
|
|
|
<button type="button" (click)="toggleFormat()">Toggle Format</button>
|