This may not answer your question directly, but have you thought about ingoring the number at the end of these non-standard timezones? CDT is Central Daylight-saving Timezone, while CST is Central Standard Timezone. And you are correct they are -5 and -6 hours respectively. Does pytz know about CDT and CST?<br>

<br>Cheers,<br>-Xav<br><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 1:13 AM,  <span dir="ltr"><<a href="mailto:skip@pobox.com">skip@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
I have the pytz package but it doesn't know about non-standard timezone<br>
names like "CDT5" or "CST6".  I can obviously infer that they are either<br>
five or six hours behind UTC.  Are they constructed in some standard way so<br>
that I can assume that if a timezone name is not known to pytz I can assume<br>
the trailing number represents the number of hours behind UTC?  Is there<br>
some standard definition of the format of such semi-numeric timezone names?<br>
<br>
Thx,<br>
<br>
--<br>
Skip Montanaro - <a href="mailto:skip@pobox.com">skip@pobox.com</a> - <a href="http://www.smontanaro.net/" target="_blank">http://www.smontanaro.net/</a><br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>