unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ben Sturmfels <ben@sturm.com.au>
To: 35746@debbugs.gnu.org
Subject: bug#35746: IceCat/Chromium timezone is wrong
Date: Wed, 22 Apr 2020 23:43:58 +1000	[thread overview]
Message-ID: <87zhb3bppd.fsf@sturm.com.au> (raw)
In-Reply-To: <87d0khzc6f.fsf_-_@gnu.org> ("Ludovic Courtès"'s message of "Fri, 17 May 2019 11:02:16 +0200")

On Fri, 17 May 2019, Ludovic Courtès wrote:

> Hi Ben,
>
> Ben Sturmfels <ben@sturm.com.au> skribis:
>
>> Possibly completely unrelated, but noting that both icecat and chromium
>> do this - which is wrong:
>>
>>> new Date().getTimezoneOffset()
>> 0
>>
>> Where node does this - which is correct:
>>
>>> new Date().getTimezoneOffset()
>> -600
>
> I noticed it in IceCat and thought it might be a privacy feature.
> But maybe it’s a genuine bug?
>
> Ludo’.

This does appear to be a privacy feature. To report the correct timezone offset, go to  "about:config" and disable "privacy.resistFingerprinting" then restart IceCat.

Note that toggling "privacy.resistFingerprinting" immediately changed the result of `new Date().toString()` on all tabs, but `new Date().getTimezoneOffset()` was changed
only on the about:config tab. After a restart all tabs showed the correct offset.

See this IceCat bug report discussion:
https://lists.gnu.org/archive/html/bug-gnuzilla/2019-06/msg00010.html

Regards,
Ben

  parent reply	other threads:[~2020-04-22 13:45 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 [this message]
     [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
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

  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=87zhb3bppd.fsf@sturm.com.au \
    --to=ben@sturm.com.au \
    --cc=35746@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).