Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76624

Re: How can I get the timezone time of a location?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.082
X-Spam-Evidence '*H*': 0.84; '*S*': 0.00; '(using': 0.07; 'used.': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'simpson': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'points': 0.29; 'message- id:@mail.gmail.com': 0.30; 'that.': 0.31; 'subject:time': 0.33; 'subject:the': 0.34; "can't": 0.35; 'received:google.com': 0.35; 'there': 0.35; 'earth': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'two': 0.37; 'mapping': 0.38; 'subject:can': 0.39; 'even': 0.60; 'name': 0.63; '20,': 0.68; 'subject:get': 0.81; 'olsen': 0.84; 'subject:location': 0.84; 'surface': 0.84; 'url:video': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=lsciMBTDPMpEgDNnEk77qyYmN44h2wEWG1qXxaAtxfo=; b=q9mf4FnKHEvdYdWDhNJFg9i8keJwvAP38bkx6KtziIEuhzL1XoSLu6YZSrKxXcq9oH 4zWBwMI6mconf7irMotAFsymaQ58wtfobFASPcZVhTSEuh0dgqLe9KWhtpRK3xgSN4k2 IXp24docReI9tWcIi3QUTScK9l+d9zaoLcwvELSgjm4SkHEmCz6w2XFcWzwZ5MVjFFmG Tt89UAqmVSrA7A6I1J/bgaSkGFcwHO32xwP0EXIbpSTJNCYtJL7Q/6q1FfZBKxIOWLfN QhETOvG5FfiCML2jgO9kAwUAHIN6W9HkyUPo2pxbtUkogLAC/9veJFrQZiQOLL4cHqj4 UOLw==
MIME-Version 1.0
X-Received by 10.180.11.72 with SMTP id o8mr10177362wib.71.1408491360578; Tue, 19 Aug 2014 16:36:00 -0700 (PDT)
In-Reply-To <20140819230834.GA41818@cskk.homeip.net>
References <CAMw+j7+c2zP+_mJ1yt_e7DqtUuP0CP0nD3Mu13FwDaFTi=mODQ@mail.gmail.com> <20140819230834.GA41818@cskk.homeip.net>
Date Wed, 20 Aug 2014 09:36:00 +1000
Subject Re: How can I get the timezone time of a location?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13181.1408491367.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408491367 news.xs4all.nl 2916 [2001:888:2000:d::a6]:45436
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76624

Show key headers only | View raw


On Wed, Aug 20, 2014 at 9:08 AM, Cameron Simpson <cs@zip.com.au> wrote:
> there is no way to go from a physcial point of the surface of the Earth to
> the timezone mapping name that should be used. (Using only the Olsen
> timezone db.)

Even with perfect knowledge, you can't always do that. There are
points on the globe which use two timezones. :)

http://pyvideo.org/video/1765/blame-it-on-caesar-what-you-need-to-know-about-d

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How can I get the timezone time of a location? Chris Angelico <rosuav@gmail.com> - 2014-08-20 09:36 +1000

csiph-web