From e6fe84427badabecb0f3b81d2f69927abc1f7dd6 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 26 Apr 2002 21:25:28 +0000 Subject: Fix a problem were date stamps were offset by one hour when DST was in effect. Bump PORTREVISION. PR: 37471 Submitted by: Larry Rosenman Approved by: sobomax --- mail/evolution/files/patch-camel_camel-mime-message.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mail/evolution/files/patch-camel_camel-mime-message.c (limited to 'mail/evolution/files') diff --git a/mail/evolution/files/patch-camel_camel-mime-message.c b/mail/evolution/files/patch-camel_camel-mime-message.c new file mode 100644 index 000000000000..df92a52a222b --- /dev/null +++ b/mail/evolution/files/patch-camel_camel-mime-message.c @@ -0,0 +1,13 @@ +--- camel/camel-mime-message.c.orig Mon Dec 10 14:54:11 2001 ++++ camel/camel-mime-message.c Fri Apr 26 17:19:59 2002 +@@ -209,8 +209,10 @@ + tz = -local->tm_gmtoff; + #endif + offset = -(((tz/60/60) * 100) + (tz/60 % 60)); ++#if defined(HAVE_TIMEZONE) + if (local->tm_isdst>0) + offset += 100; ++#endif + } + message->date = date; + message->date_offset = offset; -- cgit v1.2.3