obsidian-kindle-plugin: [BUG] highlight createdDate returning as today's date

Describe the bug

createdDate doesn’t exist on highlights:

How to Win Friends and Influence People (Dale Carnegie) - main - Obsidian v1 0 0-Monday-October-24-2022-09 47 05AM@2x

How to Win Friends and Influence People (Dale Carnegie) - main - Obsidian v1 0 0-Monday-October-24-2022-09 47 27AM@2x

Method of syncing

  • Amazon Kindle Reader
  • My Clippings file (please attach file that can be used to recreate issue)

Metadata

  • OS: [e.g. Mac, Windows, Linux]
  • Plugin version [e.g. 1.5.2]
  • Obsidian version [e.g. 1.0.0]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

I’ll make an update to make the variable available in the highlight template and update this thread when it’s complete

@hadynz that’s a great point that last accessed becomes useful if synced everyday.

Could you add lastAnnotatedDate as a variable for the highlight template?

Company Of One (Paul Jarvis) - main - Obsidian v1 0 3-Thursday-November-10-2022-11 45 39AM@2x

Only highlights made on this specific device.

That’s right. The only available date that we know is when a book was last accessed. Annotating highlights with that date is inaccurate. However, it can be accurate if someone has a habit of syncing their highlights on a daily basis - which might be the big assumption that Readwise is making. This plugin has that date and makes it available to use in any of its templates. So you can get the same result.

The Kindle Clippings file does have the created date for a highlight available and the plugin will use it correctly.