You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bas Bosman (JIRA)" <ji...@apache.org> on 2014/01/30 22:20:13 UTC
[jira] [Updated] (CB-4673) MediaFile.lastModifiedDate - type does
not match documentation
[ https://issues.apache.org/jira/browse/CB-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bas Bosman updated CB-4673:
---------------------------
Component/s: Plugin Media Capture
> 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, Plugin Media Capture
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)