Web clipper text field for "date title"

EDIT: I found the solution in a reported issue in github:

in the meantime you can use the date filter, e.g. {{date|date:"YYYY-MM-DD"}}

So I changed my titledate value to be: {{date|date:"YYYY-MM-DD"}} {{title}} and it works!


What I’m trying to do

I have a “titledate” field that combines datecreated (“YYYY-MM-DD”) with the title, and I can’t find a way to get the value of that field into the Web Clipper template.

Frontmatter:
image

Web Clipper
image

Things I have tried

#4 is so close… I just need to add a space in between the date and title, and I need the date to be YYYY-MM-DD

  1. {{date}} {{title}} => 2024-11-13T15:39
  2. {{datecreated}} {{title}} => 2024-11-13T15:39
  3. {{date}}.concat({{title}}) => 2024-11-13T15:48:58-05:00.concat(Espresso)
  4. {{date}}{{title}} => 2024-11-13T15:51:43-05:00Espresso
  5. {{YYYY-MM-DD}}{{title}} => Espresso
  6. {{date:YYYY-MM-DD}}{{title}} => Espresso
  7. {{date:'YYYY-MM-DD'}}{{title}} => Espresso
1 Like

I haven’t tested if there’s an issue with Clipper. But to provide general information, there’s no need to adjust the date settings in Obsidian Clipper. The “Update Modified Date” plugin handles this perfectly.

That’s good to know. It wasn’t my issue though, just to be clear. Using {{date}} in a text field renders the date as date-time in Webclipper. I needed a way to format it to just display the date, and I found it.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.