Explorar o código

:art: Database table view in-table search https://github.com/siyuan-note/siyuan/issues/10419

Daniel hai 1 ano
pai
achega
aab1e965e4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      kernel/av/value.go

+ 2 - 1
kernel/av/value.go

@@ -82,7 +82,8 @@ func (value *Value) String() string {
 		if nil == value.Date {
 			return ""
 		}
-		return value.Date.FormattedContent
+		formatted := NewFormattedValueDate(value.Date.Content, value.Date.Content2, DateFormatNone, value.Date.IsNotTime, value.Date.HasEndDate)
+		return formatted.FormattedContent
 	case KeyTypeSelect:
 		if 1 > len(value.MSelect) {
 			return ""