obsidian-book-search-plugin
obsidian-book-search-plugin copied to clipboard
publishDate formatting
Presently, {{publishDate}} appears to be pulling YYYY-MM-DD from the Google API. Watching previous demos of your plugin, it appears {{publishDate}} used to pull only YYYY. Could you make it to where we could format the {{publishDate}} field? For example, I would like to have my file titles be {{publishDate:YYYY}} - {{title}}, but in my file's frontmatter, I like {{publishDate:YYYY-MM-DD}}.
A good idea I think about it too, I hope @anpigon will add it soon
I also want the ability to format the date
Yes this would be a nice feature to customize.
yes please
ahh! I just installed the plugin, and found this issue. Yes, please, for the YYYY formatting capacity...
Hello, everyone. It is possible to achieve this by using <%= book.publishDate.substring(0, 4) %>
.