We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the formatDate filter formats dates in English. It should support an optional locale parameter to allow internationalized date formats.
formatDate
{{ "Sun Jun 21 2020 18:00:00 GMT-0300 (Atlantic Daylight Time)" | formatDate }}
Output: June 21st, 2020
June 21st, 2020
{{ "Sun Jun 21 2020 18:00:00 GMT-0300 (Atlantic Daylight Time)" | formatDate("fr") }}
Output: 21 juin 2020
21 juin 2020
Not applicable.
Related to fluid-project/trivet#148.
The text was updated successfully, but these errors were encountered:
feat: add internationalization support to formatDate
04babdd
fix #60
4dcfbd0
feat: support Eleventy 1.0 (#109)
4405cab
chore(deps-dev): require Eleventy 1.0 feat: deprecate slug filter (fix #94) BREAKING CHANGE: throw error on use of slug filter instead of slugify filter feat: add internationalization support to formatDate (fix #60) feat: markdown filter inherits base configuration (fix #85) chore(deps): remove markdown-it dependency
feat: support Eleventy 1.0 (resolve #93) (#109)
a8511e7
greatislander
Successfully merging a pull request may close this issue.
Is your feature request related to a problem?
Currently the
formatDate
filter formats dates in English. It should support an optional locale parameter to allow internationalized date formats.Describe the solution you'd like
Output:
June 21st, 2020
Output:
21 juin 2020
Describe alternative solutions you've considered
Not applicable.
Additional context or notes
Related to fluid-project/trivet#148.
The text was updated successfully, but these errors were encountered: