From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#35746: IceCat/Chromium timezone is wrong Date: Wed, 22 Apr 2020 23:02:04 +1000 Message-ID: <1587560524.2061.1@sturm.com.au> References: <8736lfrh6y.fsf@sturm.com.au> <87y336hct1.fsf@gnu.org> <87v9yasgkd.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45002) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRFs7-0000ss-OU for bug-guix@gnu.org; Wed, 22 Apr 2020 09:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRFs7-0001ZM-6c for bug-guix@gnu.org; Wed, 22 Apr 2020 09:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRFs6-0001WJ-Px for bug-guix@gnu.org; Wed, 22 Apr 2020 09:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRFs6-0007cB-7C for bug-guix@gnu.org; Wed, 22 Apr 2020 09:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d0khzc6f.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-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35746@debbugs.gnu.org On Fri, May 17, 2019 at 11:02, Ludovic Court=C3=A8s wrote: > Hi Ben, >=20 > Ben Sturmfels skribis: >=20 >> Possibly completely unrelated, but noting that both icecat and=20 >> chromium >> do this - which is wrong: >>=20 >>> new Date().getTimezoneOffset() >> 0 >>=20 >> Where node does this - which is correct: >>=20 >>> new Date().getTimezoneOffset() >> -600 >=20 > I noticed it in IceCat and thought it might be a privacy feature. > But maybe it=E2=80=99s a genuine bug? >=20 > Ludo=E2=80=99. This does appear to be a privacy feature. To report the correct=20 timezone offset, go to "about:config" and disable=20 "privacy.resistFingerprinting" then restart IceCat. Note that toggling "privacy.resistFingerprinting" immediately changed=20 the result of `new Date().toString()` on all tabs, but `new=20 Date().getTimezoneOffset()` was changed only on the about:config tab. After a restart all tabs showed the=20 correct offset. See this IceCat bug report discussion: https://lists.gnu.org/archive/html/bug-gnuzilla/2019-06/msg00010.html Regards, Ben =