Skip to content
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

Contribution: Add ability to change the date format #79

Open
aborg-dev opened this issue Jan 9, 2025 · 0 comments
Open

Contribution: Add ability to change the date format #79

aborg-dev opened this issue Jan 9, 2025 · 0 comments

Comments

@aborg-dev
Copy link

I would like to use a different date format for posts, e.g. "January 9, 2025" instead of "2025-01-09".

In my understanding, the date format is currently hardcoded here:

{{ page.date | date(format="%Y-%m-%d") }}

I imagine adding this would be as simple as:

  • Introduce a new date_format value in the config
  • Use that value in the template above

Would that be a reasonable plan and a welcome change? If so, I'll be happy to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant