Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix publication date handling in metadata #104

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,16 @@
},
"publicationDate": {
"type": "date",
"label": "Publication Date <small class=\"text-muted\">(optional)</small>",
"label": "Publication Date <small class=\"text-muted\"></small>",
"hidden": false,
"helpersPosition": "above",
markpatton marked this conversation as resolved.
Show resolved Hide resolved
"validate": true,
"inputType": "date",
"fieldClass": "date-time-picker",
"picker": {
"format": "L",
"allowInputToggle": true
},
"order": 8
},
"abstract": {
Expand Down Expand Up @@ -308,12 +316,11 @@
"label": "Embargo End Date",
"helper": "<i>After the embargo end date, your submission manuscripts or article can be made public. <b>If this publication is not under embargo, please leave this field blank.<b></i>",
"helpersPosition": "above",
"placeholder": "dd/mm/yyyy",
"validate": true,
"inputType": "date",
"fieldClass": "date-time-picker",
"picker": {
"format": "MM/DD/YY",
"format": "L",
"allowInputToggle": true
},
"order": 12,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"$ref": "global.json#/properties/authors"
}
},
"required": ["authors"]
"required": ["authors", "publicationDate"]
},
"options": {
"$ref": "global.json#/options"
Expand Down
Loading