Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8077
| 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> |
| Date | 2011-06-21 16:10 +1000 |
| Message-ID | <87boxrpvds.fsf@benfinney.id.au> (permalink) |
| Organization | Unlimited download news at news.astraweb.com |
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