Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4673

MediaFile.lastModifiedDate - type does not match documentation on Android

    XMLWordPrintableJSON

Details

    Description

      Capture API documentation for MediaFile says lastModifiedDate type is a Date.
      Ref: http://cordova.apache.org/docs/en/3.0.0/cordova_media_capture_capture.md.html#MediaFile

      but code in Capture.java is returning a long timestamp

      obj.put("lastModifiedDate", fp.lastModified());
      

      Which is correct?

      This is a bit like CB-4596

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            dinglemouse Peter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: