[SciPy-dev] Error in timeseries Date class

Matt Knox mattknox.ca@gmail....
Sat Sep 27 15:05:50 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
> 

Hi Dave. This should be fixed in the latest revision now. Thanks for the bug
report.

- Matt




More information about the Scipy-dev mailing list