From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35746: Evolution calendar gets the timezone wrong Date: Thu, 12 Sep 2019 12:00:49 +0200 Message-ID: <87sgp1q1f2.fsf@gnu.org> References: <8736lfrh6y.fsf@sturm.com.au> <87y336hct1.fsf@gnu.org> <87v9yasgkd.fsf@sturm.com.au> <874l5rvefo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50687) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8LuR-0005J1-Ip for bug-guix@gnu.org; Thu, 12 Sep 2019 06:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8LuQ-0000OB-Jk for bug-guix@gnu.org; Thu, 12 Sep 2019 06:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8LuQ-0000O4-GM for bug-guix@gnu.org; Thu, 12 Sep 2019 06:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8LuQ-0003p3-De for bug-guix@gnu.org; Thu, 12 Sep 2019 06:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874l5rvefo.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 18 May 2019 19:51:39 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ben Sturmfels Cc: 35746@debbugs.gnu.org Hello Ben, Ludovic Court=C3=A8s skribis: > Ben Sturmfels skribis: > >> I've downloaded the source with `guix build --source >> evolution-data-server`, extracted and found the the function >> "e_cal_util_get_system_timezone()" at src/calendar/libecal/e-cal-util.c:= 1507 >> which calls down to "system_timezone_find()" in e-cal-system-timezone.c:= 522 >> where it looks up the timezone and compares it to a list of valid zones. > > Looking more closely, =E2=80=98system_timezone_find=E2=80=99 first tries = to see if > /etc/localtime is a symlink and if yes reads its target (but it=E2=80=99s= never > a symlink, AFAIK), and later on tries to compare /etc/localtime to files > found under =E2=80=98SYSTEM_ZONEINFODIR=E2=80=99. > > Problem is: > > #define SYSTEM_ZONEINFODIR "/usr/share/zoneinfo" > > So probably, if you substitute =E2=80=9C/usr/=E2=80=9D with the prefix of= the =E2=80=98tzdata=E2=80=99 > package, it=E2=80=99ll work much better. :-) Did you have a chance to look into it? Thanks, Ludo=E2=80=99.