JS: date filter on export all