Reputation: 3297
I have a DataTable with a column for date and time with momentjs format 'lll', the date range filter is not working.
{
column_number : 4,
filter_type: 'range_date',
date_format: 'M d, yyyy',
}
Upvotes: 0
Views: 839
Reputation: 37061
You can try using bootstrap date picker, with the following setup (requires https://github.com/Eonasdan/bootstrap-datetimepicker files)
{
column_number : 4,
filter_type: 'range_date',
datepicker_type: 'bootstrap-datetimepicker',
moment_date_format: 'M d, yyyy',
datepicker_type: 'bootstrap-datetimepicker'
}
Upvotes: 0