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

String literal being incorrectly coerced

Open code-monki opened this issue 5 months ago • 0 comments

What happened?

I have a variable range defined in the frontmatter as "10m". When I use the inline query, =this.range, it produces 10 minutes, not 10m. This is unexpected as the range is measured in meters, not minutes. I have not found a workaround for this issue and having to set the literal as "10 meters" has an impact on the table layout I'm using.

DQL

No response

JS

No response

Dataview Version

0.5.67

Obsidian Version

1.6.7

OS

MacOS

code-monki avatar Sep 08 '24 20:09 code-monki