javascript - why doesnt print property file.lastModifiedDate of file? -


<tr *ngfor="let file of fileslist; let i=index">       <td><input class="form-control input-sm" value="{{ file.url }}"/></td>       <td>{{ file.size/1024 | round }} kb</td>       <td>{{ file.lastmodifieddate }} </td> </tr> 

i see file has property in console log, how can print it? enter image description here

date pipe you, please see below:

<td>{{file.lastmodifieddate | date}}</td> 

this format date, see link above different formats


Comments

Popular posts from this blog

go - serving up pdfs using golang -

python - Best design pattern for collection of objects -

r - Using `bbmle:mle2` with vector parameters (already works using `optim`) -