-
Notifications
You must be signed in to change notification settings - Fork 60
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Localize date strings #230
Labels
enhancement
New feature or request
Comments
If we will pre-generate date strings eventually, it will be awesome if we could also pre-generate syntax highlighting to remove downloading of highligh.js library |
new Date("iso 8601 string").toLocaleString() |
I think now we’re on 11ty we can do this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have date strings for the notes. These are currently in English and it will be a pain to update them manually all the time. We could use intl here but that would require running js (we limit how much js we use, it should really be used for enhancement and this is a readability issue). We could also automatically generate the correct date strings from the _data/stage3.yml file. Open to solutions here.
The text was updated successfully, but these errors were encountered: