Today I wanted to export a saved form and discovered that the date filter for export didn't work. I guess that a different time setting is causing this problem.
This is the request for exporting a form:
assets/components/formit/connector.php?action=mgr%2Fform%2Fexport&form=form&context_key=&startDate=2016-07-21T00:00:00&endDate=&download=false&limit=0&HTTP_MODAUTH=[...]
After some debugging I found that only the date should be passed in the startDate parameter. Because the filter is automatically applying '00:00:00' for the startDate and '23:59.59' for the endDate.
Passing a javascript date in the export request is causing this problem.
Today I wanted to export a saved form and discovered that the date filter for export didn't work. I guess that a different time setting is causing this problem.
This is the request for exporting a form: assets/components/formit/connector.php?action=mgr%2Fform%2Fexport&form=form&context_key=&startDate=2016-07-21T00:00:00&endDate=&download=false&limit=0&HTTP_MODAUTH=[...]
After some debugging I found that only the date should be passed in the startDate parameter. Because the filter is automatically applying '00:00:00' for the startDate and '23:59.59' for the endDate.
Passing a javascript date in the export request is causing this problem.