spatie / vue-table-component

A straight to the point Vue component to display tables
http://vue-table-component.spatie.be
MIT License
588 stars 149 forks source link

Make getSortableValue() more robust and better at handling dates #99

Closed pieterjandesmedt closed 6 years ago

pieterjandesmedt commented 6 years ago

Make getSortableValue() more robust in case of null values. This fixes #77.

Also enables getSortableValue() to better handle (utc!) dates (and milliseconds). It is now for example possible to let moment decide on the date format. This is useful in case the dates you have in the data are not all in the same format.

pieterjandesmedt commented 6 years ago

My mistake, I removed them again.