mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
0aa5624495
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,7 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
||||||
|
|
||||||
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
||||||
newValue.Date.Content = time.Now().UnixMilli()
|
newValue.Date.Content = time.Now().UnixMilli()
|
||||||
|
newValue.Date.IsNotEmpty = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,6 +271,7 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
||||||
|
|
||||||
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
||||||
newValue.Date.Content = time.Now().UnixMilli()
|
newValue.Date.Content = time.Now().UnixMilli()
|
||||||
|
newValue.Date.IsNotEmpty = true
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -308,6 +310,7 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
||||||
|
|
||||||
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
||||||
newValue.Date.Content = time.Now().UnixMilli()
|
newValue.Date.Content = time.Now().UnixMilli()
|
||||||
|
newValue.Date.IsNotEmpty = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue