From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 07:38:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9251106567E for ; Tue, 24 Jun 2008 07:38:52 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 61E868FC1B for ; Tue, 24 Jun 2008 07:38:52 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KB373-0004CC-Gb; Tue, 24 Jun 2008 09:38:49 +0200 Message-ID: <4860A47C.8030008@FreeBSD.org> Date: Tue, 24 Jun 2008 09:38:36 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: camiloreyes82@yahoo.com References: <813980.41071.qm@web63908.mail.re1.yahoo.com> In-Reply-To: <813980.41071.qm@web63908.mail.re1.yahoo.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: Opera's javascript time is off X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 07:38:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Camilo Reyes wrote: | All, for some reason when javascript posts the current system time inside | of Opera, it reports it as being off by one hour. For example, when I use | gmail chat; the time is off by one hour. Any reason that could be causing | this odd behaviour? I've looked around the Opera site and there is nothing | mentioned there; it's as if the javascript was using the wrong time zone. Is your timezone UTC+1 or UTC-1? I see the same behavior here. It seems that getTimezoneOffset() has a problem with Opera. Try this out: In Firefox: 9:36:32 Offset: -1 In Opera: 7:36:18 Offset: 0 | | "Bono Vince Malum" | -- | -Camilo | | | | _______________________________________________ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhgpHsACgkQwMJqmJVx946cBgCg2ZT1dam3MLJUGt7w4OZDrKwR wEkAoKyNEPV2c4nRNViueIZ6TaQzq/Li =ZQ2E -----END PGP SIGNATURE-----