DEV Community 👩‍💻👨‍💻

Discussion on: Automating the Date On Your Footer.

saviour123 profile image
Saviour Gidi Author

I've updated the article to fetch the date from if you don't trust the date from the browser, you can use that as the second option.

0xbf profile image

Nice! I got your point, but calling API means now that part information relies on the accessibility of the API site, in this case if is down, then the year won't be shown.

I think manually change the footer year may still be the best way, given we only need to change it once a year, that's not too bad :D