Ticket #66 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

Date creation broken with string when passing in only year

Reported by: Ludwig Brinckmann Assigned to:
Priority: major Milestone:
Component: timeseries Version:
Keywords: Cc:

Description

Creating a Date object in timeseries is broken when passing in only the year, e.g.

import scikits.timeseries as ts
t1 = ts.Date(freq='Y', string='2007')
t2 = ts.Date(freq='Y', string='2007-01')
t3 = ts.Date(freq='Y', string='2007-01-01')

print v6, v7, v8

t1 will be 2008, t2 and t3 are correct.

Change History

09/27/08 08:47:41 changed by mattknox_ca

  • status changed from new to closed.
  • resolution set to fixed.

fixed in revision 1502