-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
fix: date on post is not following dateFormat #234
Conversation
Add extra option to change the date format displayed at the beginning of the single.html
✅ Deploy Preview for hugo-blog-awesome ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Laborratte5 thanks for the improvement. I don't like the idea of having 2 date formatting options in the config. It can be confusing. Does it make sense to remove the |
The |
Sounds good 👍 |
Quality Gate passedIssues Measures |
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.
Thanks @Laborratte5 for the fix.
Add extra option to change the date format
displayed at the beginning of the single.html
What problem does this PR solve?
The date format at the beginning of post did not follow the
dateFormat
config option.
Is this PR adding a new feature?
I added an extra option
postDateFormat
to set the date format at the beginning of a post.I added this option because I like the idea of being able to display the date
more verbose at the start of the post. (Moreover this makes it possible
to add this in a backwards compatible manner, by not changing the current
behavior if the
postDateFormat
option is not defined)Is this PR related to any issue or discussion?
See #177
PR Checklist