cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <...@git.apache.org>
Subject [GitHub] cordova-plugin-file pull request: Update Metadata.js
Date Fri, 18 Apr 2014 23:42:32 GMT
Github user shazron commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/39#issuecomment-40853736
  
    Not sure this is correct. The spec says it should be "modificationTime": http://dev.w3.org/2009/dap/file-system/pub/FileSystem/
    
    The js function that uses Metadata:
    https://github.com/apache/cordova-plugin-file/blob/21e119692ab9c9fb2912dc69e2c6d4b05307e3e2/www/Entry.js#L65-L75
    
    On iOS, it is modificationTime:
    https://github.com/apache/cordova-plugin-file/blob/21e119692ab9c9fb2912dc69e2c6d4b05307e3e2/src/ios/CDVLocalFilesystem.m#L278
    
    But, on Android it's lastModifiedDate:
    https://github.com/apache/cordova-plugin-file/blob/757e692ff02cc21a94452af414e33feda9a09157/src/android/LocalFilesystem.java#L297
    
    So I think this is a bug in Android.



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