From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#35746: Evolution calendar gets the timezone wrong Date: Thu, 12 Sep 2019 23:45:07 +1000 Message-ID: <87impx4oik.fsf@sturm.com.au> References: <8736lfrh6y.fsf@sturm.com.au> <87y336hct1.fsf@gnu.org> <87v9yasgkd.fsf@sturm.com.au> <874l5rvefo.fsf@gnu.org> <87sgp1q1f2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38818) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8PQB-0002S8-BP for bug-guix@gnu.org; Thu, 12 Sep 2019 09:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8PQA-00017c-Ch for bug-guix@gnu.org; Thu, 12 Sep 2019 09:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8PQA-00017V-A3 for bug-guix@gnu.org; Thu, 12 Sep 2019 09:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8PQA-0003hQ-6W for bug-guix@gnu.org; Thu, 12 Sep 2019 09:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87sgp1q1f2.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35746@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 12 Sep 2019, Ludovic Court=C3=A8s wrote: > 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=99= s 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 o= f the =E2=80=98tzdata=E2=80=99 >> package, it=E2=80=99ll work much better. :-) > > Did you have a chance to look into it? Sorry Ludo, no, not yet. It's still on my list to take a look at some time though. Regards, Ben --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAl16S+MACgkQAjwF4snA aPD2LA//YOczz6lw2onP0opLEm+qKlTdDFBhcCPusmX35e8T3/qI54PwA6e8w/36 43XV4uMXE5HRL6oV5xoaf3EgJMj194/ve9vzrbW6pppGr3ax6X0NHTgxLA0an7qg V+Onrv90h8JoE6m6jHS5R+KX54VtQOSUFDi701adou7VOmShHNA8lLwjmORioGuD HlCE+PB6pP93iI2rISLGB324RtNaeQyfcEb2BqcH6w8TKTIxasIaeU3m2dzSLZi6 TpwlCTQrL437xu1ylYwPnd5rlciitWLj9HjOwDmpNE91W17stdtfuIlVTX8r//9y aJ59nQLunHajf7wfq9NAdFPcW80XhJTzgdOBnmGHX0DRCaK0/WRre1SSLxtP6IIj j7wpUAIo2ZZOFaXSGWhLu5/7gImXnz6OQ50j4KQ9mXcEWjbAEUTa6ckkQdXLKvGy MPnacVqjaNG/yU/9QUlSD6UFxI474T4HaVBx/O64KqKiIBfHb4WTy37E+6BHfs/d iQdOUwke2wT1ne/+sD9PXfjuY2khjexImVZnbqWjHn8dSyNTyGscPo4oppUEPM8M p+wF9pOFA213FuZzAe+zdKOGwqMjXwRrEHmqfPY9BzrMS0zcAsYengiP9GaUPGZM aYT5ijCzQnMmJR7JgXIo1V01Silx6FhkOA7ZGTPG/5PrE7buPHw= =DUrV -----END PGP SIGNATURE----- --=-=-=--