all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Sturmfels <ben@sturm.com.au>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 35746@debbugs.gnu.org
Subject: bug#35746: Evolution calendar gets the timezone wrong
Date: Thu, 12 Sep 2019 23:45:07 +1000	[thread overview]
Message-ID: <87impx4oik.fsf@sturm.com.au> (raw)
In-Reply-To: <87sgp1q1f2.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

On Thu, 12 Sep 2019, Ludovic Courtès wrote:

> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Ben Sturmfels <ben@sturm.com.au> 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, ‘system_timezone_find’ first tries to see if
>> /etc/localtime is a symlink and if yes reads its target (but it’s never
>> a symlink, AFAIK), and later on tries to compare /etc/localtime to files
>> found under ‘SYSTEM_ZONEINFODIR’.
>>
>> Problem is:
>>
>>   #define SYSTEM_ZONEINFODIR "/usr/share/zoneinfo"
>>
>> So probably, if you substitute “/usr/” with the prefix of the ‘tzdata’
>> package, it’ll 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-09-12 13:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 13:16 bug#35746: Evolution calendar gets the timezone wrong Ben Sturmfels
2019-05-16 11:13 ` Ludovic Courtès
2019-05-16 12:57   ` Ben Sturmfels
2019-05-16 13:18     ` Ben Sturmfels
2019-05-16 13:23     ` Ben Sturmfels
2019-05-16 17:18     ` Danny Milosavljevic
2019-05-17  9:02     ` bug#35746: IceCat/Chromium timezone is wrong Ludovic Courtès
2020-04-22 13:02       ` Ben Sturmfels
2020-04-22 13:43       ` Ben Sturmfels
     [not found]       ` <875zdrd4vv.fsf@sturm.com.au>
2020-04-22 15:13         ` Ludovic Courtès
2019-05-18 17:51     ` bug#35746: Evolution calendar gets the timezone wrong Ludovic Courtès
2019-09-12 10:00       ` Ludovic Courtès
2019-09-12 13:45         ` Ben Sturmfels [this message]
2019-05-18 17:21   ` Timothy Sample
2019-05-18 18:43     ` Timothy Sample
2019-05-19 21:17       ` sirmacik
2019-09-12 10:05         ` Ludovic Courtès
2020-02-06 11:27           ` Ben Sturmfels
2020-05-05  5:01 ` bug#35746: (no subject) Ben Sturmfels via web

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87impx4oik.fsf@sturm.com.au \
    --to=ben@sturm.com.au \
    --cc=35746@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.