Date and time types not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ladon |
New
|
Undecided
|
Unassigned |
Bug Description
There is exception on call soap method with time:
Traceback (most recent call last):
File "/
val = typ(val)
TypeError: an integer is required (got type str)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/
result = self.call_
File "/
args += [tc.from_
File "/
raise FromUnicodeConv
ladon.exception
While handling attribute: Nonean integer is required (got type str)
Processing incoming argument: "update_
This fix problem:
ladon/types/
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import sys
+import datetime
from ladon.exception
from ladon.compat import PORTABLE_
@@ -59,6 +60,10 @@
+ elif typ==datetime.time:
+ val = datetime.
+ elif typ==datetime.date:
+ val = datetime.
Fix with isodate module.