Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/39#issuecomment-44431873
  
    Hmm File.js represents the File interface in the File API spec: 
http://www.w3.org/TR/FileAPI/#file and it does specify lastModifiedDate, which 
is correct.
    
    FileEntry.file is correct, it should return a File object, so that's fine 
-- but it has a bug in it in how it constructs the File object. Since it is 
calling the getMetadata function, the call to get the date should be 
f.modificationTime instead of f.lastModifiedDate (since the returned object to 
the successcallback is a Metadata object): 
https://github.com/apache/cordova-plugin-file/blob/767e2c5919ad92e5c94c1b06f19a21b90d8277f1/www/FileEntry.js#L71
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to