Bonjour Dave
Very interesting post. Especially the "Track Your Time" part that we tend to forget as soon as we do things for ourselves and for fun.
I saw that you add a Moment.js dependency on GitHub.
Since Moment.js is now a legacy project and Luxon is already used by Eleventy, it's probably best to use it:
const { DateTime } = require("luxon");
Bonjour Michel!!
Thanks for pointing this out! I based much of this on Andy Bell's Learn 11ty From Scratch Course - which is great but out of date now.
I'll add this on to my list of things to improve - I might even try and submit a pull request to the course repo if I am feeling brave.
Thanks again!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Bonjour Dave
Very interesting post. Especially the "Track Your Time" part that we tend to forget as soon as we do things for ourselves and for fun.
I saw that you add a Moment.js dependency on GitHub.
Since Moment.js is now a legacy project and Luxon is already used by Eleventy, it's probably best to use it:
const { DateTime } = require("luxon");
Bonjour Michel!!
Thanks for pointing this out! I based much of this on Andy Bell's Learn 11ty From Scratch Course - which is great but out of date now.
I'll add this on to my list of things to improve - I might even try and submit a pull request to the course repo if I am feeling brave.
Thanks again!