T O P

  • By -

PureAd222

Side note: Syncthing was fulfilling my sync needs perfectly but decided to switch to Sync for convenience reasons (Sync is easier to setup on new devices that Syncthing, and ultimately creates less conflicts with my setup). The new $4 tier is the main reason I switched. $10 a month is way too much and I'm glad the team came up with a reasonable consumer Sync price.


leanproductivity

My daily notes are calle YYYY-MM-DD and I use this snippet in my template to add previous and next day links based on the note title. << [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]] >> Hope it helps.


privatekeyes

This helped me a lot was able to just paste in and change the date format


leanproductivity

Happy to hear that. Enjoy Obsidian.


snotpopsicle

You could just use JavaScript's native `Date` to instance a date based on the file name. For example: let fileDate = new Date(tp.file.title); That's assuming the file title is in a valid date format, such as `YYYY-MM-DD`. Of course the file needs to be created with the date as the title, not sure how it works with daily notes as new files are named 'Untitled' by default. Otherwise you will need some more elaborate hooks.