Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8077
| 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 <ben+python@benfinney.id.au> |
| Newsgroups | comp.lang.python |
| Subject | Re: parse date string having "EDT" |
| References | <b503ac78-b8dd-49bc-b457-c9748d903452@glegroupsg2000goo.googlegroups.com> <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 <bignose+hates-spam@benfinney.id.au> |
| Date | Tue, 21 Jun 2011 16:10:39 +1000 |
| Message-ID | <87boxrpvds.fsf@benfinney.id.au> (permalink) |
| 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<A`SkB0 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8077 |
Show key headers only | View raw
Tim Roberts <timr@probo.com> 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).
<URL:http://docs.python.org/library/time.html#time.strptime>
--
\ “Human reason is snatching everything to itself, leaving |
`\ nothing for faith.” —Saint Bernard, 1090–1153 |
_o__) |
Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
parse date string having "EDT" Junaid P V <junu.pv@gmail.com> - 2011-06-20 19:56 -0700
Re: parse date string having "EDT" Ben Finney <ben+python@benfinney.id.au> - 2011-06-21 14:12 +1000
Re: parse date string having "EDT" Tim Roberts <timr@probo.com> - 2011-06-20 22:52 -0700
Re: parse date string having "EDT" Ben Finney <ben+python@benfinney.id.au> - 2011-06-21 16:10 +1000
Re: parse date string having "EDT" Tim Roberts <timr@probo.com> - 2011-06-22 20:55 -0700
csiph-web