[
https://issues.apache.org/jira/browse/CB-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028111#comment-14028111
]
Ian Clelland commented on CB-6902:
----------------------------------
This is less of an issue than I expected, because our existing
{{.lastModifiedDate}} property was an integer timestamp already, rather than a
{{Date}} object.
I've added the {{.lastModified}} property as an alias, without changing the
creation signature, or removing the existing property. This means that other
plugins should not be affected.
> File.lastModifiedDate should change to .lastModified
> ----------------------------------------------------
>
> Key: CB-6902
> URL: https://issues.apache.org/jira/browse/CB-6902
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File, Plugin Media Capture
> Reporter: Ian Clelland
> Assignee: Ian Clelland
>
> In the most recent (June 2 2014) version of the File API spec, the existing
> Date property {{lastModifiedDate}} has been replaced with a numeric property
> {{lastModified}}
> ML discussion:
> http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0662.html
> Bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=22824
> Old spec: http://www.w3.org/TR/2012/WD-FileAPI-20121025/
> New spec: http://dev.w3.org/2006/webapi/FileAPI/ (for now)
> We should change, with a deprecation notice for backwards compatibility, to
> the new attribute.
> This likely affects media-capture as well as file, and other plugins which
> generate File objects.
--
This message was sent by Atlassian JIRA
(v6.2#6252)