DateVariable doesn't convert datetimes to dates when from_db is true
Bug #391601 reported by
Jason Baker
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Medium
|
Sidnei da Silva |
Bug Description
If a datetime is returned from the database to a DateVariable, it will not be converted into a datetime.date if from_db is true. This is important because Oracle does not have a separate datatype for only representing Dates.
Related branches
lp:~sidnei/storm/datetime-in-datevariable
- Jamu Kakar (community): Approve
- James Henstridge: Approve
-
Diff: 48 lines (+8/-1)3 files modifiedNEWS (+3/-1)
storm/variables.py (+2/-0)
tests/variables.py (+3/-0)
Changed in storm: | |
assignee: | nobody → Jason Baker (jbaker) |
status: | New → Fix Committed |
Changed in storm: | |
status: | Fix Committed → New |
importance: | Undecided → Medium |
milestone: | none → 0.19 |
assignee: | Jason Baker (jbaker) → Sidnei da Silva (sidnei) |
Changed in storm: | |
status: | New → Fix Committed |
Changed in storm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is fixed in lp:~zeomega/storm/zeomega_storm rev 321