feat(widget-date): add input display formatting (#1739)
This commit is contained in:
committed by
Shawn Erquhart
parent
9706b3cac7
commit
855efd848e
@ -18,7 +18,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- { label: 'Title', name: 'title', widget: 'string', tagname: 'h1' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime', format: 'YYYY-MM-DD hh:mma' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime', dateFormat: 'YYYY-MM-DD', timeFormat: 'HH:mm', format: 'YYYY-MM-DD HH:mm' }
|
||||
- label: 'Cover Image'
|
||||
name: 'image'
|
||||
widget: 'image'
|
||||
|
Reference in New Issue
Block a user