Closed 0xgrm closed 10 years ago
According to the Simplenote API 2.1.5 the time should be in seconds. Hence the *1000
in the code. I'm not seeing any problems with the modified date. What OS, etc did you see this on?
Belatedly realising you were right (whatever the API says) after doing some work on simplenote.py - apologies. Will fix this soon.
Also, realising I'm an idiot:
According to the Simplenote API 2.1.5 the time should be in seconds. Hence the *1000 in the code
But according to Python:
time.time()
Return the time as a floating point number expressed in seconds since the epoch
Since this also affects simplenote.py, fixing there before here
Timestamp of newly created notes are corrects. Timestamp of updated notes are buggy.
A workaround I found is to replace the line 245 with that : note["modifydate"] = int(round(time.time()))