Apache Cordova
  1. Apache Cordova
  2. CB-4673

MediaFile.lastModifiedDate - type does not match documentation

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Labels:
      None

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Joe Bowser
            Reporter:
            Peter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development