Skip to content

Commit 208246f

Browse files
committed
Add defaultValue "now" for datePublished
1 parent 338dbd7 commit 208246f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NodeTypes/Document/Post.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
properties:
2121
datePublished:
2222
type: DateTime
23+
defaultValue: now
2324
ui:
2425
label: 'Publication Date'
2526
reloadIfChanged: true

0 commit comments

Comments
 (0)