Skip to content

Commit cf5f469

Browse files
authored
Merge pull request #34 from kdambekalns/task/add-datePublished-default-value
Add defaultValue "now" for datePublished
2 parents 338dbd7 + 208246f commit cf5f469

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)