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


Groups > comp.lang.python > #76399

Re: timezone argument %z and %Z

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.044
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; '16,': 0.03; 'plenty': 0.07; 'pointers': 0.09; 'python': 0.11; 'finney': 0.16; 'offsets': 0.16; 'uniquely': 0.16; 'zone.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'sort': 0.25; '&gt;': 0.26; 'world,': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'est': 0.30; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'problem': 0.35; 'except': 0.35; 'america': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'example,': 0.37; 'skip:& 10': 0.38; 'ben': 0.38; 'to:addr:python- list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'skip:\xc2 10': 0.60; 'identify': 0.61; 'name': 0.63; 'such': 0.63; 'more': 0.64; 'north': 0.65; 'here': 0.66; 'australia': 0.69; '24.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=awslIicfGk8P+o4lcz4169EsQmZca493zwf04WGgoSQ=; b=XdN+5//VmqpPgoVyJll9N93kGpch6gKX/q8TvZ7x/eKGI1WoNpy2Y9KVwPY+PTQGKD caqM+DhI8aTPIfvUTjwrJNeL5yJ4fbjNNbxLkkotMG4UYRhHdoHzH9inOWb9vEL5XAWr IVPeln/LkAaMApIVjh9rjRvzUtsWezueGgz6n4UroH/4tZUBAU1CXbLsH+BngSf5gGbC HN8YzvMfDEMrRpXiQzHVwXE2ZLZmgIvE9pm3yR2KnllcMlfS1N6TWeRWylLgBqiAU/nw +G1hlf9T/p2qF+ZJ6zBkMd/5dLrfcwPBZ0c7R29JeWlYqxBXZWc6jQN0Svng+PhBgcaQ csYA==
X-Received by 10.68.69.46 with SMTP id b14mr18674659pbu.70.1408177343862; Sat, 16 Aug 2014 01:22:23 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <85fvgx53rn.fsf@benfinney.id.au>
References <53EEF7DF.7080409@gmail.com> <85fvgx53rn.fsf@benfinney.id.au>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sat, 16 Aug 2014 02:21:43 -0600
Subject Re: timezone argument %z and %Z
To Python <python-list@python.org>
Content-Type multipart/alternative; boundary=001a113818945c9cf00500bad68c
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.13046.1408177752.18130.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408177753 news.xs4all.nl 2863 [2001:888:2000:d::a6]:39136
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76399

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Aug 16, 2014 at 12:48 AM, Ben Finney <ben+python@benfinney.id.au>
wrote:
> > problem 1:
> > There are 24 time zone in the world, does any time zone has the time
> > zone name  such as EST,CST ?
> > Are there 24  time zone  abbreviations in python  ?what are other 22
> > except for  EST ,CST ?
>
> There are *many* time zones in the world, much more than 24. Please read
> up on time zones, you should already have plenty of pointers instead of
> asking here all the time.

You should also be aware that the abbreviations do not always uniquely
identify a time zone. For example, "EST" is used in both North America
(-0500) and Australia (+1000). It's usually better just to use time zone
offsets to avoid this sort of ambiguity.

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


Thread

Re: timezone argument %z and %Z Ian Kelly <ian.g.kelly@gmail.com> - 2014-08-16 02:21 -0600

csiph-web