readwiseio / obsidian-readwise

Official Readwise plugin for Obsidian
GNU General Public License v3.0
239 stars 23 forks source link

{{date}} always defaults to today #46

Open chillu opened 9 months ago

chillu commented 9 months ago

First of all, thanks so much for this integration - you guys rock! I'm using it to sync all my article highlights, and review my document notes weekly (spaced repetition).

Reading through https://readwise.io/export/obsidian/preferences, I'm trying to understand what the {{date}} variable is meant to contain. It appears to always default to today's date. Which kinda works if you sync daily (highlight created date == current date). But when I'm retroactively importing my existing highlights for the first time, it messes up my workflow. Should this variable be defaulting to the date when the Readwise document was created?

Also, it would be amazing if you added {{last_updated_date}}, which would be the newest {{highlight_date}}. Happy to create a separate issue if you don't want to mix bug report and feature request here.