cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-6902) File.lastModifiedDate should change to .lastModified
Date Wed, 11 Jun 2014 17:53:03 GMT


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:
>             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:
> Bug:
> Old spec:
> New spec: (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

This message was sent by Atlassian JIRA

View raw message