Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2020 05:39:48 +0200
From:      Polytropon <freebsd@edvax.de>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [WORKAROUND] Re: odd issue affecting firefox (any version) on freebsd (any version)
Message-ID:  <20200729053948.745643a5.freebsd@edvax.de>
In-Reply-To: <20200729004821.GA80948@bastion.zyxst.net>
References:  <20200722182209.GA46914@bastion.zyxst.net> <20200729004821.GA80948@bastion.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Jul 2020 01:48:21 +0100, tech-lists wrote:
> It seems the problem was being caused by Firefox on freebsd giving
> fastmail a fractional time-zone offset causing them to
> generate an invalid offset in the JSON fastmail was sending to the server. Because
> of this the server was rejecting the message resulting in the "Send Failed". 
>
> [...]
> 
> To reproduce, open a javascript console and enter 
> new Date().getTimezoneOffset()
> and ctrl-enter and it should produce a whole number as output. Firefox on my
> freebsd desktop outputs -59.55. My timezone is set Europe/London.

Related collections of ancient wisdom: 

Falsehoods programmers believe about time

https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time

https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca

Falsehoods programmers believe about time and time zones

http://www.creativedeletion.com/2015/01/28/falsehoods-programmers-date-time-zones.html

;-)

However, an offset of -59.55 really looks strange, especially
as only one program on one platform produces it...




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200729053948.745643a5.freebsd>