mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Adjust custom date selection to include the full end date
Affects list view 'Selected range' and export range selection
This commit is contained in:
parent
7925e33c6f
commit
b16302e090
@ -36,7 +36,7 @@ class calendar_export_csv implements importexport_iface_export_plugin {
|
||||
if($options['selection']['select'] == 'criteria') {
|
||||
$query = array(
|
||||
'start' => $options['selection']['start'],
|
||||
'end' => $options['selection']['end'],
|
||||
'end' => strtotime('+1 day',$options['selection']['end'])-1,
|
||||
'categories' => $options['categories'] ? $options['categories'] : $options['selection']['categories'],
|
||||
//'enum_recuring' => false, // we want the recurring events enumerated for csv export
|
||||
'daywise' => false,
|
||||
|
@ -291,7 +291,7 @@ class calendar_uilist extends calendar_ui
|
||||
case 'custom':
|
||||
$GLOBALS['egw']->js->set_onload("set_style_by_class('table','custom_hide','visibility','visible');");
|
||||
$this->first = $search_params['start'] = $params['startdate'];
|
||||
$this->last = $search_params['end'] = $params['enddate'];
|
||||
$this->last = $search_params['end'] = strtotime('+1 day', $params['enddate'])-1;
|
||||
$label = $this->bo->long_date($this->first,$this->last);
|
||||
break;
|
||||
case 'fixed':
|
||||
|
Loading…
Reference in New Issue
Block a user