4 ms·
To be fair, File.lastModifiedDate was never a standard. In my experience, as long as you stick to the stuff that's actually an accepted standard your code will
by untog 8y ago
To be fair, File.lastModifiedDate was never a standard. In my experience, as long as you stick to the stuff that's actually an accepted standard your code will last a long time.
FWIW, removed on Firefox too:
https://bugzilla.mozilla.org/show_bug.cgi?id=1458883 https://bugzilla.mozilla.org/show_bug.cgi?id=1458883
and lastModified works in both (and IE):
https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified https://developer.mozilla.org/en-US/docs/Web/API/File/lastMo...
- zip1234 8y agoI agree but if the latest document is a draft? That is how lastModifiedDate ended up in those browsers in the first place. Obviously, going back would have noticed that it was removed from the spec and updated accordingly. The point is that IE has maintained backwards compatibility and Chrome has not.
- untog 8y agoThat's why you don't implement anything that's a draft. Obviously easier said than done, but if you want your code to be around for a long time it's the only sensible path.