benjypng / logseq-todoist-plugin

MIT License
125 stars 19 forks source link

fix: date/time format for creation date + TODO position #84

Open andreoliwa opened 3 months ago

andreoliwa commented 3 months ago

When I downloaded the latest version of the plugin, I noticed the date, time and TODO were broken. I was using my local fork for a while.

In this pull request:

  1. fix the date format, following the config.edn journal date format:
  2. add colon to the time e.g. 17:37 instead of the previous 1737.
  3. add the TODO as the last thing, after all other text changes, otherwise the line doesn't become a task.
  4. improve the README again, mentioning pnpm.
  5. add .npmrc so the pnpm-lock.yaml lock file doesn't change after I run pnpm install.

Example of a line before this change:

- @240515 **1825** TODO My imported task

After this pull request:

- TODO [[Wednesday, 15.05.2024]] **18:25** My imported task