nz-date-picker format datetime is not working in Angular CLI

Dung Do Tien Dec 31 2020 820

I'm working with angular11 and AntDesign Zoro version 11.0. I'm using nz-date-picker control with nzFormat="dd/MM/yyyy" but when I'm using FormBuilder.patchValue to set the date format for this control but it not working.

This is my code:

My response data returned looks like this :

  1. updateTime: "2020-12-30T21:24:20.7403313+07:00"
  2. updateUserId: null
  3. id: 1
No answer found.
Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close