-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Reuest: Append slug: hour, minutes, secounds #1207
Conversation
Deploy preview for cms-demo ready! Built with commit 287d2b4 |
Deploy preview for netlify-cms-www ready! Built with commit 287d2b4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition - just a typo to fix in the docs and this is 👍
@@ -133,6 +133,9 @@ For folder collections where users can create new items, the `slug` option speci | |||
- `{{year}}`: 4-digit year of the file creation date | |||
- `{{month}}`: 2-digit month of the file creation date | |||
- `{{day}}`: 2-digit day of the month of the file creation date | |||
- `{{hour}}`: 2-digit hour of the file creation date | |||
- `{{minute}}`: 2-digit minute of the month of the file creation date | |||
- `{{second}}`: 2-digit second of the month of the file creation date |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typos in these last two lines (extra "of the month" in each).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed it!
58a7bd1
to
1125eef
Compare
1125eef
to
8e5435c
Compare
- Summary
When I'm not want to use
{{slug}}
, it's case occur happen can only 1 post per one day.This append slug hours, minutes, seconds like
{{year}}-{{month}}-{{day}}-{{hours}}-{{minutes}}-{{seconds}}
.- Test plan
execute yarn test and build
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)