cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clelland <...@git.apache.org>
Subject [GitHub] cordova-plugin-file pull request: Update Metadata.js
Date Wed, 11 Jun 2014 17:45:19 GMT
Github user clelland commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/39#issuecomment-45775108
  
    I've created [CB-6922](https://issues.apache.org/jira/browse/CB-6922) for this -- it was
certainly a problem in Android.
    
    The trouble, as Shaz identified, is that *both* the File API and the FileEntry API have
a method to get metadata for a file, and they use inconsistent names for the timestamp.
    
    I've committed a different fix, which just makes use of getFileMetadata for both functions
(on all platforms) and changes the key names in JavaScript before instantiating the Metadata
object. This should ensure consistent behaviour across all platforms.


---
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