Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76400
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'correspond': 0.09; 'dst': 0.09; 'identifier': 0.09; 'cc:addr:python-list': 0.11; 'changes': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'offsets': 0.16; 'simplicity,': 0.16; 'uniquely': 0.16; 'zone.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'est': 0.30; 'message- id:@mail.gmail.com': 0.30; '(which': 0.31; 'too.': 0.31; 'usually': 0.31; 'america': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'example,': 0.37; 'two': 0.37; 'handle': 0.38; 'pm,': 0.38; 'ian': 0.60; 'identify': 0.61; 'great': 0.65; 'north': 0.65; 'australia': 0.69; 'fifty': 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=KZMls8wCPe1NDJ1CgLJPT681TBBjAkK6tjNGmgm/gbk=; b=xtan7TT9IGE4zNvTdCoU3lruhbGhhdWZQ/isiclCc+u0zFOPSI7pOWYjzVjlIPXV2+ k0fBvgDIdEF26Xrjo+YpCLPDR7nN99Flz0UYFCTm5WQGM1rdZjDA4KjUcVdwZyu8FRFh 644+dztPYvZwSsQ1eVoZ2B+vafQEfzfjjSRDXkNYz/+ae3LnFXqWGszWhKnRt16pnf8D 006otQggKtfO1/j6rdaaiIcsCP1ylLtP4zXkk+RRnFJn94kcg5AeZbrkgoS0O2c73bUN Tkl1qp9naDU0ZCWTQgAe21zIYEpgtL0MhPHOCojqTZUSXv/bpkrX1bZObLdff/zGblUr V77g== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.80.39 with SMTP id o7mr2198033igx.0.1408178645045; Sat, 16 Aug 2014 01:44:05 -0700 (PDT) |
| In-Reply-To | <CALwzidnZ9PTKK1cKPYU2BvTgKp218o31TYOOZDfumv_KTvgJBQ@mail.gmail.com> |
| References | <53EEF7DF.7080409@gmail.com> <85fvgx53rn.fsf@benfinney.id.au> <CALwzidnZ9PTKK1cKPYU2BvTgKp218o31TYOOZDfumv_KTvgJBQ@mail.gmail.com> |
| Date | Sat, 16 Aug 2014 18:44:04 +1000 |
| Subject | Re: timezone argument %z and %Z |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | Python <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.13047.1408178653.18130.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408178654 news.xs4all.nl 2887 [2001:888:2000:d::a6]:42253 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76400 |
Show key headers only | View raw
On Sat, Aug 16, 2014 at 6:21 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote: > 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. And about fifty other time zones, too. Offsets are great if you want that simplicity, but the only reliable way to handle time zones with DST changes is a tzdata identifier like "Australia/Adelaide" or "America/New_York" (which correspond to the two meanings of EST that you mentioned). ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: timezone argument %z and %Z Chris Angelico <rosuav@gmail.com> - 2014-08-16 18:44 +1000
csiph-web