You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/08/27 03:05:51 UTC

[jira] [Created] (CB-4673) MediaFile.lastModifiedDate - type does not match documentation

Peter created CB-4673:
-------------------------

             Summary: MediaFile.lastModifiedDate - type does not match documentation
                 Key: CB-4673
                 URL: https://issues.apache.org/jira/browse/CB-4673
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Docs
    Affects Versions: 2.9.0
            Reporter: Peter
            Assignee: Joe Bowser
            Priority: Minor


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
{code}
obj.put("lastModifiedDate", fp.lastModified());
{code}

Which is correct?

This is a bit like CB-4596

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira