This commit is contained in:
Daniel 2024-03-10 22:19:14 +08:00
parent aa01e99b0d
commit aab1e965e4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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 ""