apache / apache/cordova-plugin-file

file.lastModifiedDate

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
744
Forks
754
Avg merge
3d 4h
Merged PRs (30d)
1

Description

https://github.com/apache/cordova-plugin-file/blob/5274cab39e3f96a8682a74ba28663f32611501c8/www/File.js#L37

`File.lastModifiedDate` is [deprecated](https://developer.mozilla.org/en-US/docs/Web/API/File/lastModifiedDate) and also removed in FF & Safari

You should stop supporting it also and remove it (or at least throw a error message saying it's deprecated in a getter method)

Contributor guide

Open the contributing guide

Research direction

Start at www/File.js around line 37 and inspect how File.lastModifiedDate is exposed. Determine whether the issue's intended outcome is removal or a deprecation error, then check for other references to the property and verify the plugin tests still pass with the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.