🎨 Export the database date field not support "time" export https://github.com/siyuan-note/siyuan/issues/11785

This commit is contained in:
Daniel 2024-06-23 12:09:03 +08:00
parent 84a52019f8
commit 62d443e0ee
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -498,7 +498,7 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTime
Content: content,
Content2: content2,
HasEndDate: false,
IsNotTime: true,
IsNotTime: isNotTime,
FormattedContent: formatted,
}
return
@ -535,7 +535,7 @@ func NewFormattedValueDate(content, content2 int64, format DateFormat, isNotTime
IsNotEmpty: true,
IsNotEmpty2: !content2Time.IsZero(),
HasEndDate: hasEndDate,
IsNotTime: true,
IsNotTime: isNotTime,
FormattedContent: formatted,
}
return