I want to format some dates in my Express views.
First of all, my employer, i.TV, has a DateTime library that we wrote that is alright:
But I was hoping this would be something that's more in the view layer than than in the model/controller level.
Here are some libraries and functions that do some version of that:
However, none of them did what I wanted. Here is one that did:
This is what I did to make it work in my express views: