A stupid question, how to get the createdDate of a file #1024

Open
opened 2018-05-25 08:58:46 +00:00 by ronliruonan · 1 comment
ronliruonan commented 2018-05-25 08:58:46 +00:00 (Migrated from github.com)

In some case, our project needs to get the createdDate of the files we upload.
I guess the plugins could get the "lastModifiedDate", so it also could get the "createdDate"

In some case, our project needs to get the createdDate of the files we upload. I guess the plugins could get the "lastModifiedDate", so it also could get the "createdDate"
WindSaber commented 2018-07-19 17:56:48 +00:00 (Migrated from github.com)

Try this

this.uploader.onAfterAddingFile = (file) => {
  console.log(file);//Will print file data included created file
};
Try this ``` this.uploader.onAfterAddingFile = (file) => { console.log(file);//Will print file data included created file }; ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1024