fix SpecTypeArgumentDate simple()
This commit is contained in:
parent
01441efe75
commit
f52a824ffb
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class SpecArgumentTypeDate(SpecArgumentType):
|
||||||
return SpecArgumentType.name(self) or "yyyy-mm-dd"
|
return SpecArgumentType.name(self) or "yyyy-mm-dd"
|
||||||
def simple(self, args):
|
def simple(self, args):
|
||||||
if args:
|
if args:
|
||||||
return date_human(args[0], 1)
|
return date_human(args[0]), 1
|
||||||
return None, 1
|
return None, 1
|
||||||
|
|
||||||
class SpecArgumentPrivateType(SpecArgumentType):
|
class SpecArgumentPrivateType(SpecArgumentType):
|
||||||
|
|
Loading…
Reference in a new issue