cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DanielFreiburger <...@git.apache.org>
Subject [GitHub] cordova-plugin-file pull request: Update Metadata.js
Date Wed, 28 May 2014 13:31:03 GMT
Github user DanielFreiburger commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/39#issuecomment-44406214
  
    In File.js always "lastModifiedDate" is used,
    in Metadata.js always "modificationTime" is used
    but there is no correlation between these two.
    So one of the two must be wrong.
    After creating a correlation between the two by changing Metadata.js line 29 from:
    this.modificationTime = new Date(metadata.modificationTime);
    to
    this.modificationTime = new Date(metadata.lastModifiedDate);
    everything is fine.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message