[SciPy-dev] Error in timeseries Date class

Dave dave.hirschfeld at gmail.com
Fri Sep 26 05:58:48 EDT 2008


It appears that the strftime function as applied to the timeseries Date class
gives incorrect results for the day of week c.f.

In [1]: import scikits.timeseries as ts

In [2]: from datetime import datetime

In [3]: ts.Date('D', datetime=datetime.now()).strftime('%a %d-%b-%Y')
Out[3]: 'Thu 26-Sep-2008'

-Dave




More information about the SciPy-Dev mailing list