This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
RNFetchBlobStat lastModified
date is incorrect #227
Closed
Description
I'm getting very old dates from fs.stat
for lastModified
, such as 130216976
(which is Sat, 16 Feb 1974 03:22:56 GMT
in unix time). Any idea why this might be occurring?
Update: Actually this number 130216976
is always returned, no matter when the file was actually modified. Very weird.
My specs:
- fetch-blob
v0.10.1
- iOS 10.1 simulator
- OSX
It seems to work perfectly fine on Android (though it's in milliseconds instead of seconds).
Side note: The wiki docs showed that the values returned are numbers, when in fact they are strings. There's no way to make a PR to the wiki, so I've updated it directly. Hope that's okay!