Python2.5 parse timestamp strings containing timeszones
<p>I am trying to parse timestamp strings containing timezone information. When I execute the following on Python 2.5</p>

<pre><code>from datetime import datetime
datetime.strptime("20120805-18:30:00 EST", "%Y%m%d-%H:%M:%S %Z")
</code></pre>

<p>I get:</p>

<pre><code>ValueError: time data did not match format:  data=20120805-18:30:00 EST  fmt=%Y%m%d-%H:%M:%S %Z
</code></pre>

<p>However I change "EST" to "JST" the line executes fine (working on a Japan server). Also one more thing I noticed was time.tzname returns a list with only 'JST'.</p>

<p>Is there a way to be able to parse all the usual timezones?</p>
