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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -