Durations always show "1 month" for 28/30/31 day differences

Author: AngelCherubCreated Dec 8, 2021Updated May 7, 2026
Labelsbugluxon

What happened?

The table below is using a duration query to work out the amount of time elapsed since a specific start date: 2021-10-19

When parsed, the query says 15 November is 3 weeks and 6 days since the start date.

It then says that 16 November is 1 month since the start date.

It then says that 17 November is 1 month and 1 day since the start date.

It then says that 18 November is 1 month since the start date.

It then says that 19 November is also 1 month since the start date.

It then says that 20 November is 1 month and 1 day since the start date.

a52ee6627bba0d9982bac7587650145f043b7644

Am I doing something wrong or is this a bug?

Thanks

Angel

DQL

**Date** | **Duration**
:------------ | :------------
2021-11-15 | `=date(2021-11-15) - date(2021-10-19)`
2021-11-16 | `=date(2021-11-16) - date(2021-10-19)`
2021-11-17 | `=date(2021-11-17) - date(2021-10-19)`
2021-11-18 | `=date(2021-11-18) - date(2021-10-19)`
2021-11-19 | `=date(2021-11-19) - date(2021-10-19)`
2021-11-20 | `=date(2021-11-20) - date(2021-10-19)`

JS

No response

Dataview Version

0.4.21

Obsidian Version

0.12.19

OS

MacOS

Source: blacksmithgu/obsidian-dataview