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


Groups > comp.lang.python > #93314

Re: Matplotlib X-axis timezone trouble

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.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.113
X-Spam-Level *
X-Spam-Evidence '*H*': 0.78; '*S*': 0.00; 'adopted': 0.09; 'cc:addr :python-list': 0.10; 'ignore': 0.14; '"well,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'labelled': 0.16; 'recently.': 0.16; 'seconds.': 0.16; 'timezones': 0.16; 'utc': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.28; 'unified': 0.29; 'maybe': 0.31; 'especially': 0.32; 'problem': 0.33; 'lets': 0.33; 'received:google.com': 0.34; "i'll": 0.34; 'happened': 0.35; 'possible.': 0.36; 'beginning': 0.36; 'turn': 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'someone': 0.38; 'end': 0.39; 'pm,': 0.39; 'does': 0.39; 'subject:-': 0.39; 'data': 0.40; 'some': 0.40; 'your': 0.60; 'even': 0.61; 'research': 0.62; 'more': 0.62; '30,': 0.63; 'civil': 0.63; 'relatively': 0.63; 'different': 0.64; 'places': 0.64; 'chrisa': 0.84; "else's": 0.84; 'smarty': 0.84; 'strain': 0.84; 'to:none': 0.90
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=QjODc74Jh3S0GUTkUvln6Cc5VyArp+TdknSGg74c/qY=; b=sGAFJhefhpixGdeNjMerZx0Djr2Q4k3V5TRSh7pyI3C9ASGTKc7ndpC/pTxZZEno1c 1z5glBdfZEiuFMkanmmvyBaQl8l4yxEDhYhcdc8HKE/fRdjuENMey/TInhuLsPC02OPD gfHgzVjqKKRnHWGrBzmqQlGZRpCvi88nAfd12qKptiM+ghwm9bUcM/7S4G/TeTeb/Z3w CP9I3P5XG8Dkvx1krTzaPeoin5BB/QgJKdHx5uW/gz5qyBJLj7jLabgDNWlp6jnJjwEp B1JyLln4sniv1yg8UKXlBs1Y4uCIYBlWg5UJClr8MbG0X3d+ci7CD2k5NiULEphKZYw0 mcQw==
MIME-Version 1.0
X-Received by 10.107.131.75 with SMTP id f72mr16990143iod.53.1435647675128; Tue, 30 Jun 2015 00:01:15 -0700 (PDT)
In-Reply-To <cvele1Fmra9U1@mid.individual.net>
References <cve7ppFk1viU1@mid.individual.net> <mailman.179.1435630294.3674.python-list@python.org> <cvele1Fmra9U1@mid.individual.net>
Date Tue, 30 Jun 2015 17:01:15 +1000
Subject Re: Matplotlib X-axis timezone trouble
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.20+
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.181.1435647684.3674.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1435647684 news.xs4all.nl 2883 [2001:888:2000:d::a6]:51468
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93314

Show key headers only | View raw


On Tue, Jun 30, 2015 at 2:49 PM, Peter Pearson
<pkpearson@nowhere.invalid> wrote:
> Time zones teem with sneaky software problems, and so does daylight-saving
> time, so this problem might strain my brain.  Maybe it's going to turn
> out that my expectations are unreasonable . . . as in, "Well, smarty pants,
> how do you want the axis labelled when the abscissas straddle the
> beginning of daylight-saving time?"  I'll research and digest.

That's entirely possible. Even more so if you go across some other
civil time change - if you look at the history of timezones in tzdata,
there's no end of messes as different places adopted standard time,
redefined standard time, and unified with someone else's standard
time. And some of that happened relatively recently.

UTC is much easier for this kind of thing. Especially if the
granularity of your data lets you ignore leap seconds.

ChrisA

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


Thread

Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-06-30 00:56 +0000
  Re: Matplotlib X-axis timezone trouble Laura Creighton <lac@openend.se> - 2015-06-30 04:03 +0200
    Re: Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-06-30 04:57 +0000
  Re: Matplotlib X-axis timezone trouble Chris Angelico <rosuav@gmail.com> - 2015-06-30 12:11 +1000
    Re: Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-06-30 04:49 +0000
      Re: Matplotlib X-axis timezone trouble Chris Angelico <rosuav@gmail.com> - 2015-06-30 17:01 +1000
        Re: Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-06-30 16:42 +0000
          Re: Matplotlib X-axis timezone trouble Chris Angelico <rosuav@gmail.com> - 2015-07-01 02:55 +1000
  Re: Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-07-01 05:50 +0000
    Re: Matplotlib X-axis timezone trouble Chris Angelico <rosuav@gmail.com> - 2015-07-01 17:15 +1000
      Datetime timezone trouble (was: Matplotlib X-axis timezone trouble) Peter Pearson <pkpearson@nowhere.invalid> - 2015-07-01 16:36 +0000
        Re: Datetime timezone trouble (was: Matplotlib X-axis timezone trouble) Ian Kelly <ian.g.kelly@gmail.com> - 2015-07-01 10:55 -0600
          Re: Datetime timezone trouble (was: Matplotlib X-axis timezone trouble) Peter Pearson <pkpearson@nowhere.invalid> - 2015-07-01 19:09 +0000
        Re: Datetime timezone trouble (was: Matplotlib X-axis timezone trouble) Chris Angelico <rosuav@gmail.com> - 2015-07-02 03:08 +1000
  Re: Matplotlib X-axis timezone trouble Akira Li <4kir4.1i@gmail.com> - 2015-07-04 07:29 +0300
    Re: Matplotlib X-axis timezone trouble [SOLVED] Peter Pearson <pkpearson@nowhere.invalid> - 2015-07-04 17:37 +0000
  Re: Matplotlib X-axis timezone trouble Tony the Tiger <tony@tiger.invalid> - 2015-07-09 19:50 +0000
    Re: Matplotlib X-axis timezone trouble Peter Pearson <pkpearson@nowhere.invalid> - 2015-07-10 16:15 +0000

csiph-web