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

fix: Don’t markdownify dates #1028

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

davidolrik
Copy link

@davidolrik davidolrik commented Mar 2, 2025

To prevent “ordered list” markup in languages like Danish and German dates are no longer markdownifed.

Date formates like: 2. January 2006 would be turned into ordered lists because of the period after 2.

I didn't remove emojify, but I think it would also make sense to remove it as the output from the dateFormat probably wouldn't contain any emojis either.

Fixes #1027

To prevent “ordered list” markup in languages like Danish and German dates are no longer markdownifed.

Date formates like: `2. January 2006` would be turned into ordered lists because of the period after 2.
Copy link

netlify bot commented Mar 2, 2025

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6f113e5
🔍 Latest deploy log https://app.netlify.com/sites/hugo-congo/deploys/67c48e2edab95d00080e4dec
😎 Deploy Preview https://deploy-preview-1028--hugo-congo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@davidolrik davidolrik changed the title fix: Don’t markdownify dates (fixes #1027) fix: Don’t markdownify dates Mar 2, 2025
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

Successfully merging this pull request may close these issues.

date is shown incomplete using German localization
1 participant