jsoxford / jsnotoxfordsite

MIT License
0 stars 1 forks source link

add fancy js localtime #5

Closed javorszky closed 3 years ago

javorszky commented 3 years ago

Adds the fancy js localtime snippet that @benfoxall uses on other sites, per the slack thread. Current configuration would read

10 February, 7 pm GMT

on my machine.

To test, clone the repository, run the site with npm start, and visit localhost:8080, and you should be able to see what it's like.

I can't format the date with the "th" part in it, nor seem to be able to add the @ symbol, not sure whether that's of importance.

javorszky commented 3 years ago

8 does this