After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 514989 - Calendar preview reports the wrong date for meetings
Calendar preview reports the wrong date for meetings
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-02-07 14:30 UTC by Sebastien Bacher
Modified: 2010-09-30 09:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
proposed evo patch (1.28 KB, patch)
2008-02-14 13:30 UTC, Milan Crha
committed Details | Review

Description Sebastien Bacher 2008-02-07 14:30:45 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/187035

"Binary package hint: evolution

I receive an ics calendar attachment in email, the inline preview claims it is for a meeting tomorrow (Wednesday), but when I add it to my calendar it is for Friday.

The DTSTART and DEND fields in the ics are for Friday, so there appears to be a bug in the inline email preview.

Attached is an ics file for an event scheduled for 2008-02-01, and how it appears in my email on 2008-01-29 - suggesting the event is on 2008-01-30.

Running 2.21.5-0ubuntu1 under hardy (preview).

http://launchpadlibrarian.net/11620150/icsexample.png
Inline ical preview in email  (57.5 KiB, image/png)

http://launchpadlibrarian.net/11620155/test.ics
ical file attachment  (1.0 KiB, text/calendar)

If I load up the mail today, it shows the correct event date as "Friday, February 1". It appears the problem is/was with whatever function interprets the date into "Tomorrow" etc.

On Thursday, the date was given as "Friday" rather than "Tomorrow". The event today is given as "Today"."
Comment 1 Milan Crha 2008-02-14 13:07:42 UTC
Confirming
Comment 2 Milan Crha 2008-02-14 13:30:58 UTC
Created attachment 105232 [details] [review]
proposed evo patch

for evolution;

Calculate tomorrow from current time, not from the date to convert.
Comment 3 Srinivasa Ragavan 2008-02-14 17:00:55 UTC
Chen: Can you review this?

Moving it to calendar. Though the view is mailer... Itip viewer is calendar.
Comment 4 Matthew Barnes 2008-03-11 00:36:41 UTC
Bumping version to a stable release.
Comment 5 Chenthill P 2008-10-20 02:04:58 UTC
Patch looks good to commit.
Comment 6 Suman Manjunath 2008-10-20 04:01:25 UTC
Patch committed to stable (gnome-2-24) branch as r36654
http://svn.gnome.org/viewvc/evolution?view=revision&revision=36654

Patch committed to SVN trunk as r36655
http://svn.gnome.org/viewvc/evolution?view=revision&revision=36655
Comment 7 Milan Crha 2010-09-30 09:08:46 UTC
I suppose this is fixed, thus closing.