mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
3379d29e67
commit
2c5d4d47a4
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 {
|
||||
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 {
|
||||
newValue.Date.Content = time.Now().UnixMilli()
|
||||
newValue.Date.IsNotEmpty = true
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -308,6 +310,7 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
|||
|
||||
if nil != keyValues.Key.Date && keyValues.Key.Date.AutoFillNow {
|
||||
newValue.Date.Content = time.Now().UnixMilli()
|
||||
newValue.Date.IsNotEmpty = true
|
||||
}
|
||||
}
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue