Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: parse date string having "EDT" References: <3ac007lr1fvviek12a96t0oqoo1g6dee5f@4ax.com> 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 Date: Tue, 21 Jun 2011 16:10:39 +1000 Message-ID: <87boxrpvds.fsf@benfinney.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:OI7QFZ1PHR40xfQSgkN97d5GtrI= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 18 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 3c4ad683.news.astraweb.com X-Trace: DXC=RO>?oPgQVF76k]7j^a\l<5L?0kYOcDh@:N7:H2`MmAU3gNUH?V8:>H=]G;2>V^?kW3bEW9A[5UK?5NZ[SL`C\Kg3aeET writes: > Right, because strptime doesn't support %Z. Au contraire: Support for the %Z directive is based on the values contained in tzname and whether daylight is true. Because of this, it is platform-specific except for recognizing UTC and GMT which are always known (and are considered to be non-daylight savings timezones). -- \ “Human reason is snatching everything to itself, leaving | `\ nothing for faith.” —Saint Bernard, 1090–1153 | _o__) | Ben Finney