Hi,
The filters for the export are handle directly by the HikaMarket core, in the "ordermarket/view.html.php" you will be able to find that code
$filter_end = explode('-', $pageInfo->filter->filter_enddate);
$noHourDay = explode(' ', $filter_end[2]);
$filter_end[2] = $noHourDay[0];
$filter_end = mktime(23, 59, 59, $filter_end[1], $filter_end[2], $filter_end[0]);
The filter_end variable is generated with a fixed hour in order to select the end of the day.
And that's the same thing for the filter_start variable, which have a fixed hour to select the beginning of the day.
If you want to change the behavior without modifying the HikaMarket core, you can use a plugin and the trigger "onBeforeOrderExportQuery".
$dispatcher->trigger('onBeforeOrderExportQuery', array(&$select, &$from, &$filters, &$order, &$searchMap, &$orderingAccept) );
In your plugin you can read the input values and handle them differently (with the time).
To simplify the update of filters, the next HikaMarket release will have "named" filters.
Instead of having
$filters[] = 'hkorder.order_created < '.$filter_end;
there will be
$filters['order_created'] = 'hkorder.order_created < '.$filter_end;
So in a plugin, you can easily replace the filter on the "order_created" without having to perform a loop and analyze the content.
Regards,