How to format date as dd/MM/yyyy in Angular 2 using pipes on template?

Source: https://stackoverflow.com/questions/35754586/how-to-format-date-as-dd-mm-yyyy-in-angular-2-using-pipes

Now we can do the conventional way:
{{valueDate | date: 'dd/MM/yyyy'}}

Không có nhận xét nào:

xóa toàn bộ commit

  Cách chuẩn & đơn giản nhất (Khuyến nghị) Mục tiêu Xóa toàn bộ commit history Giữ nguyên code hiện tại main chỉ còn 1 commit...