marcus-crane / october

A simple GUI for retrieving Kobo highlights and syncing them with Readwise
https://october.utf9k.net
MIT License
174 stars 10 forks source link

Sync timestamp should increase to microsecond precision #103

Open marcus-crane opened 12 months ago

marcus-crane commented 12 months ago

Something I noticed while reviewing my own highlights in Obsidian is that timestamps for highlights from Readwise Reader contain 6 decimal places of precision (microseconds) whereas we just submit regular second timestamps with October.

Functionally, this makes no difference but visually makes for nice consistency and technically it's possible to have ordering weirdness if different books were uploaded within the same second which is probably rate but not impossible.

CleanShot 2023-12-06 at 13 37 49

marcus-crane commented 12 months ago

As best as I can tell, Reader's timestamp changed sometime in 2021 which would be sometime after the very first version of October was released (has it really been more than 2 years?!)

marcus-crane commented 12 months ago

Highlights have 3 decimal places of precision but we can still format the last 3 places as 0's for consistency