From: John H. <jd...@gm...> - 2007-10-11 19:33:15
|
On 10/11/07, Charles Seaton <cs...@st...> wrote: > Any suggestions on how to get either matplotlib.dates.datestr2num or > dateutil.parser.parse to properly handle timezone information in the > datestring would be greatly appreciated. Not sure how to answer this question vis-a-vid dateutil.parser, but you may want to consider creating your own datestr -> datetime converter using time.strptime and then allowing mpl to convert to numbers using date2num. I think you can use the %Z format code for timezones. JDH |