Closed GoogleCodeExporter closed 8 years ago
I noticed the reminder has the right time. The wrong time is only inside the
mail sent after you save the event.
Original comment by myweb4pe...@gmail.com
on 16 Jan 2014 at 3:47
Ok, I did a check trying to set my timezone in the roundcube per user setting.
Nothing changed.
Then I checked the calendar.php file and I noticed this:
$val['start'] = gmdate('Y-m-d\TH:i:s.000+00:00',$val['start']);
and
$val['end'] = gmdate('Y-m-d\TH:i:s.000+00:00',$val['end']);
I changed to
$val['start'] = gmdate('Y-m-d\TH:i:s.000-01:00',$val['start']);
and
$val['end'] = gmdate('Y-m-d\TH:i:s.000-01:00',$val['end']);
and the time used is now correct.
Maybe it would be useful let the admin sets the timezone for the plugin. (i
cannot find something like that in the config file)
Also, when I save the event, i get a mail from my own email account. The remind
comes with the "noreply" account. I didn't checked if it's a global account or
if everyone will get the noreply@domain...
Why don't use the same method for saving the event?
Original comment by myweb4pe...@gmail.com
on 16 Jan 2014 at 4:46
Original comment by myroundc...@gmail.com
on 17 Jan 2014 at 6:07
This part of the code was very old. Older Roundcube versions didn't support
timezone names. Time you saw in the notifications were GMT (no timezone
offset). As Roundcube meanwhile has full timezone support, I have re-coded the
section.
Regarding the sender: Notifications show as sender the user who
created/modified or deleted the event. That's import for shared calendars.
Reminders show as sender the a service account. We don't have a logged in user
when the reminders cron is running. To use the recipient as sender does not
work for all. If the SMTP server is configured to allow as sender name only the
account owner, then sending by using a different name would fail. So, I won't
change this part.
Original comment by myroundc...@gmail.com
on 17 Jan 2014 at 6:14
Original comment by myroundc...@gmail.com
on 17 Jan 2014 at 6:15
Original issue reported on code.google.com by
myweb4pe...@gmail.com
on 16 Jan 2014 at 3:24