"setting tzid from user prefs for new entries"

This commit is contained in:
Ralf Becker 2009-11-04 07:56:00 +00:00
parent bacca46078
commit e9e7ad77b6

View File

@ -143,6 +143,7 @@ class calendar_uiforms extends calendar_ui
'owner' => $owner,
'start' => $start,
'end' => $start + (int) $this->bo->cal_prefs['defaultlength']*60,
'tzid' => $this->bo->common_prefs['tz'],
'priority' => 2, // normal
'public'=> $this->cal_prefs['default_private'] ? 0 : 1,
'alarm' => array(),