[SciPy-dev] Error in timeseries Date class

Dave dave.hirschfeld@gmail....
Fri Sep 26 04:58:48 CDT 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