I highly recommend avoiding JavaScript Date
objects and anything relying on the JS i18n library (such as the stock Angular date
pipe). It is trivial to roll your own date formatting pipe with date-fns and much more robust.
I highly recommend avoiding JavaScript Date
objects and anything relying on the JS i18n library (such as the stock Angular date
pipe). It is trivial to roll your own date formatting pipe with date-fns and much more robust.