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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -