mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 12:15:16 +01:00
🎨 Attribute View date column calculate https://github.com/siyuan-note/siyuan/issues/8757
This commit is contained in:
parent
98f7b56c0d
commit
67aa8b642a
2 changed files with 10 additions and 3 deletions
|
|
@ -602,7 +602,7 @@ func (table *Table) calcColDate(col *TableColumn, colIndex int) {
|
|||
}
|
||||
}
|
||||
if 0 != earliest && 0 != latest {
|
||||
col.Calc.Result = &Value{Date: NewFormattedValueDate(latest-earliest, DateFormatNone)}
|
||||
col.Calc.Result = &Value{Date: NewFormattedValueDate(latest-earliest, DateFormatDuration)}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue