You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2017/07/14 20:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/CB-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-4673:
--------------------------
    Labels: backlog  (was: )

> MediaFile.lastModifiedDate - type does not match documentation on Android
> -------------------------------------------------------------------------
>
>                 Key: CB-4673
>                 URL: https://issues.apache.org/jira/browse/CB-4673
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media-capture
>    Affects Versions: 2.9.0
>            Reporter: Peter
>            Assignee: Joe Bowser
>            Priority: Minor
>              Labels: backlog
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org