add doc on customizing moment.js date formats
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 106
- Forks
- 190
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 1
Description
Where to add this customization documentation? https://5.docs.plone.org/adapt-and-extend/index.html ?
The new moment.js formats dates so they show up as "7 days ago", "3 days ago", etc.
To make a configuration change so the full dates are shown in the Contents view, e.g. https://mysite.com/folder_contents, go to the Resource Registry control panel, click "Pattern Options" tab, add a pattern called "structure" and give it the value
{ "momentFormat": "MMMM D, YYYY" }
For more information about moment.js formats, see http://momentjs.com
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the adapt-and-extend documentation at https://5.docs.plone.org/adapt-and-extend/index.html and the linked moment.js formatting reference. Document the Resource Registry control panel's Pattern Options configuration for the structure pattern, including the momentFormat example. Done means a newcomer can find the guidance and understand how to display full dates in the Contents view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100