Skip to content

Commit

Permalink
Add working example
Browse files Browse the repository at this point in the history
Keystone expects YYYY-MM-DD format for a CalendarDate
  • Loading branch information
bartduisters authored Jan 8, 2020
1 parent 0a510ec commit 4f6569a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/add-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
yearRangeFrom: '2019',
yearRangeTo: '2029',
isRequired: false,
defaultValue: Date.now(),
defaultValue: new Date().toISOString('YYYY-MM-DD').substring(0, 10),
},
assignee: {
type: Text,
Expand Down

0 comments on commit 4f6569a

Please sign in to comment.