From 62d443e0ee6906a07037de4bf488043543fe9c1b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 23 Jun 2024 12:09:03 +0800 Subject: [PATCH] :art: Export the database date field not support "time" export https://github.com/siyuan-note/siyuan/issues/11785 --- kernel/av/value.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/av/value.go b/kernel/av/value.go index 952bd2771..922226926 100644 --- a/kernel/av/value.go +++ b/kernel/av/value.go @@ -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