Hi,

Maxim Cournoyer <[email protected]> writes:

> Hi,
>
> I've recently found out that icecat wouldn't display time correctly for
> my local time zone anymore (even when the 'resistFingerprinting' in
> about:config is disabled, which would have usually resolved the
> problem).
>
> To test, I simply visit the https://everytimezone.com/, which shows your
> current time.
>
> This version from early September 2022 works:
>
> --8<---------------cut here---------------start------------->8---
> /gnu/store/bzpyas70s9j95dqad00vafks5icg51dm-icecat-91.13.0-guix0-preview1/bin/icecat
> --8<---------------cut here---------------end--------------->8---
>
>
> While this one from the end of September 2022 doesn't
>
> --8<---------------cut here---------------start------------->8---
> /gnu/store/bzpyas70s9j95dqad00vafks5icg51dm-icecat-91.13.0-guix0-preview1/bin/icecat
> --8<---------------cut here---------------end--------------->8---
>
>
>
> As a workaround, you can set your timezone explicitly (after ensuring
> there are no longer running icecat processes) like so:
>
> --8<---------------cut here---------------start------------->8---
> TZ=America/Montreal icecat
> --8<---------------cut here---------------end--------------->8---

Tried these things for the current version:

Made /etc/localtime a symbolic link:

--8<---------------cut here---------------start------------->8---
$ file /etc/localtime 
/etc/localtime: symbolic link to 
/gnu/store/1zwwykw79j5xz1iaiia56hwqxdqnrk2c-tzdata-2025a/share/zoneinfo/Asia/Tokyo
--8<---------------cut here---------------end--------------->8---

Ran with sandbox disabled and TZ unset:

--8<---------------cut here---------------start------------->8---
MOZ_PERMISSIVE_CONTENT_SANDBOX=1 TZ= 
/gnu/store/v8lay69wqmacz275clfxm7vlhy8qnq1q-icecat-minimal-140.5.0-gnu1/bin/icecat
--8<---------------cut here---------------end--------------->8---

It's still not enough. The date returned by Date() in the JS console is
still UTC.

-- 
Thanks,
Maxim



Reply via email to