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> 
date pipe you, please see below:
<td>{{file.lastmodifieddate | date}}</td> this format date, see link above different formats

Comments
Post a Comment