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: 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; '>': 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 Date: Sat, 16 Aug 2014 02:21:43 -0600 Subject: Re: timezone argument %z and %Z To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001a113818945c9cf00500bad68c Content-Type: text/plain; charset=UTF-8 On Sat, Aug 16, 2014 at 12:48 AM, Ben Finney 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. --001a113818945c9cf00500bad68c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 =C2=A0such as EST,CST ?
> > Are there 24 =C2= =A0time zone =C2=A0abbreviations in python =C2=A0?what are other 22
>= > except for =C2=A0EST ,CST ?
>
> There are *many* time zon= es in the world, much more than 24. Please read
> up on time zones, you should already have plenty of pointers instead o= f
> asking here all the time.

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