obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

Links based on dates do not refresh

Open chmac opened this issue 1 year ago • 3 comments

What happened?

I have the following to show a link to today's note:

Today: `=link(dateformat(date(today), "yyyy-MM-dd"))` (yesterday `=link(dateformat(date(yesterday), "yyyy-MM-dd"))`)

When the note is open for more than a day, these links don't update to the current date.

  • Refresh interval is set to 2500
  • Force refresh command doesn't help

DQL

No response

JS

No response

Dataview Version

0.5.64

Obsidian Version

1.5.3

OS

MacOS

chmac avatar Feb 08 '24 12:02 chmac

Apologies if this is the intended behaviour and I've misunderstood what a refresh should do.

chmac avatar Feb 08 '24 12:02 chmac

Sadly this is a common issue in some cases. It's not only related to dates changing, but the refresh fails in some cases in general, and you need to either re-open the note itself, change the query (could be as easy as adding/remove spaces), or triggering a rebuild of the current view.

holroy avatar Feb 16 '24 11:02 holroy

See also #1752

holroy avatar Feb 16 '24 16:02 holroy