agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@gmail.com>
To: rawi <only4com@web.de>
To: pgsql-sql@postgresql.org
Subject: Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name
Date: Wed, 12 Feb 2014 08:30:16 -0800
Message-ID: <52FBA198.1050001@gmail.com> (raw)
In-Reply-To: <1392218996355-5791602.post@n5.nabble.com>
References: <1392105285704-5791371.post@n5.nabble.com>
	<52FA3499.3020604@gmail.com>
	<1392193455856-5791556.post@n5.nabble.com>
	<52FB8D48.6010805@gmail.com>
	<1392218996355-5791602.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On 02/12/2014 07:29 AM, rawi wrote:
> Adrian Klaver-3 wrote
>> Welcome to the wacky world of time, it is all relative:) The choices are
>> handle everything as UTC until you present to the end user or use actual
>> timezones, for example, America/Los_Angeles. To illustrate, in your
>> original post you said:
>>
>> "But it would be easier to ask a specific time offset (got from a client
>> around the world), so for me +01 hour"
>>
>> Do you know if that offset supplied by the client was POSIX or ISO in
>> its sign?
>
> The (playing) question was: how would I get the time zone of a browser
> somewhere unknown on earth?
>
> And the found javascript solution would return the difference between GMT
> and localtime in minutes, so for me west from Greenwich a negative integer.
>
> Please save the following in a html file eg. "time_offset.html" and load it
> in your browser:


I do not see the code, so I can not test.

>
>
>
>
>



-- 
Adrian Klaver
adrian.klaver@gmail.com


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (7+ messages)  latest in thread

Message-ID: <52FBA198.1050001@gmail.com>
Permalink:  ../52FBA198.1050001@gmail.com/
Also on:    postgresql.org/message-id/52FBA198.1050001@gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: adrian.klaver@gmail.com, only4com@web.de
  Subject: Re: Re: Time AT TIME ZONE: false result using offset instead of time zone name
  In-Reply-To: <52FBA198.1050001@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox