Sorting table dates in a Vue CLI project
Posted in Javascript on August 5, 2020
I updated this post from October 2019 as I found a new and in my opinion better Vue plugin to display and sort dates.
Sorting dates in a table was in my experience always a pain. You just don’t think about it and assume it will work out. Well it does, as long as the format of your dates is like 2019-10-09. However, if we show dates in another format, for example 9-10-2019 or even Wednesday, October 9, it stops working. In this post I’ll show how to handle sorting dates in non standard formats using the jQuery Datatables plugin, the Vue Tabulator plugin and Grid.js
Read more