unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: divan@santanas.co.za
To: 40585@debbugs.gnu.org
Subject: bug#40585: timezone offset issues primarily in qtwebenine
Date: Sun, 12 Apr 2020 22:05:35 +0200	[thread overview]
Message-ID: <873698jwq8.fsf@swift.i-did-not-set--mail-host-address--so-tickle-me> (raw)

Greetings :)

Having similar issues to https://issues.guix.info/issue/35746 but not
quite the same.

I'm having time offset issues in various applications on guix system.

My timezone is set to

(operating-system
 (host-name "swift")
 (timezone "Africa/Johannesburg")
 (locale "en_US.utf8")

Which in terminal is correct
ds@swift ~ $ date
Sun 12 Apr 2020 09:54:27 PM SAST

So I'm +0200, yet many applications report there time in UTC which is
frustrating.

Apps being:
- qutebrowser
- ungoogled-chromium

icecat works, when the privacy feature (ResistFingerprinting) is
disabled in about:config .

I was chatting to the maintainer of qutebrowser, str1ngs, on #guix and
he did not have the same issue on his guix system. Which is really
strange. He tried various debugging with me and in the end I think he
said:

  <str1ngs> divansantana and QDateTime works as well  [21:12]
  <str1ngs> it's something qtwebenine or javascript related

My locale, in case that's relevant:

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

I test the browser timezone via browsing to https://play.grafana.org/
for instance. But I've noticed the issue in multiple sites.

Perhaps this is a separate issue but in notmuch I notice similar:

In some emails it gives time in UTC
Date: Thu, 09 Apr 2020 12:55:21 +0000

While other emails it gives +0200 time.
Date: Sun, 12 Apr 2020 21:04:01 +0200

                 reply	other threads:[~2020-04-12 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=873698jwq8.fsf@swift.i-did-not-set--mail-host-address--so-tickle-me \
    --to=divan@santanas.co.za \
    --cc=40585@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).