Evidlo / remarkable_printer

Native printing to reMarkable.
GNU General Public License v3.0
257 stars 21 forks source link

Fix timestamp #1

Closed beardhatcode closed 4 years ago

beardhatcode commented 4 years ago

The ordering in my remarkable was incorrect. With this the printed document gets sorted correctly when sorted by Last Updated.

btw: Cool work @Evidlo, this is a really usefully tool :+1:


The timestamp is in miliseconds, not seconds, add three zeros' to ensure correct ordering.

Before the metadata contained:

"lastModified": "1583919213",

now it contains:

"lastModified": "1583919213000",

found this out by looking at

cat /home/root/.local/share/remarkable/xochitl/*.metadata | grep lastModified