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


Groups > comp.lang.python > #76397

Re: timezone argument %z and %Z

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'plenty': 0.07; 'pointers': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'windows': 0.15; 'earlier.': 0.16; 'finney': 0.16; "microsoft's": 0.16; 'programmers.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'timezones': 0.16; 'proprietary': 0.16; 'library': 0.18; 'install': 0.23; 'header :User-Agent:1': 0.23; 'controlling': 0.24; 'world,': 0.26; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'specifically': 0.29; 'correct': 0.29; 'est': 0.30; 'writes:': 0.31; 'problem': 0.35; 'except': 0.35; 'tool': 0.35; 'there': 0.35; 'data,': 0.36; 'should': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'subject: ': 0.61; 'name': 0.63; 'such': 0.63; 'provide': 0.64; 'more': 0.64; 'here': 0.66; '8bit%:21': 0.69; 'internet': 0.71; 'directed': 0.83; '24.': 0.84; 'received:125': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: timezone argument %z and %Z
Date Sat, 16 Aug 2014 16:48:12 +1000
References <53EEF7DF.7080409@gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:4L/U25SWxJPvnsq4vRsGbsqzgSE=
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.13044.1408171708.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408171708 news.xs4all.nl 2977 [2001:888:2000:d::a6]:55009
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76397

Show key headers only | View raw


luofeiyu <elearn2014@gmail.com> writes:

> In my system : win7+ python3.4 .

AFAIK, Microsoft's Windows OS does not provide correct standard
timezones for programmers. They provide only proprietary data, which do
not match the international standard time zones.

You will need to install timezone support specifically for Python, with
the ‘pytz’ library I directed you to earlier.

> 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.

-- 
 \      “Software patents provide one more means of controlling access |
  `\      to information. They are the tool of choice for the internet |
_o__)                                     highwayman.” —Anthony Taylor |
Ben Finney

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


Thread

Re: timezone  argument %z and %Z Ben Finney <ben+python@benfinney.id.au> - 2014-08-16 16:48 +1000

csiph-web