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: 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: References: Date: Tue, 30 Jun 2015 17:01:15 +1000 Subject: Re: Matplotlib X-axis timezone trouble From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Tue, Jun 30, 2015 at 2:49 PM, Peter Pearson 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