divide time by 1000 before creating timestamp
rdiaz02 opened this issue · 4 comments
rdiaz02 commented
At least as of July 2015, Mendeley is storing the date as miliseconds since 1970. Therefore, line 97,
d_added = datetime.datetime.utcfromtimestamp(d_added)
should really be d_added = datetime.datetime.utcfromtimestamp(d_added/1000)
Flinz commented
Thanks for pointing this out. If you should fix it, please make a pull request.
rdiaz02 commented
I'd do it, but I am not sure this is the case for all versions of Mendeley (OS, version of Mendeley, etc), and since I seem to be the only one to have pointed this out, I am hesitant to force a change that might break things.
mim commented
I found the same thing. I'm on Ubuntu 16.04 using Mendeley 1.17.13.