aboutsummaryrefslogtreecommitdiff
path: root/src/utils/parse
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-06 16:40:02 +0000
committerGravatar jesopo2020-02-06 16:40:02 +0000
commitf52a824ffb7202ea11a1754c3d9d5ed7a8ebc5bc (patch)
tree3176f79a500d50927e2ae69f94ec30196f4b1a1b /src/utils/parse
parentonly pull 'charset' from <meta> content-type when it definitely exists (diff)
signature
fix SpecTypeArgumentDate simple()
Diffstat (limited to 'src/utils/parse')
-rw-r--r--src/utils/parse/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/parse/spec.py b/src/utils/parse/spec.py
index 1cccd9eb..cfc5e386 100644
--- a/src/utils/parse/spec.py
+++ b/src/utils/parse/spec.py
@@ -79,7 +79,7 @@ class SpecArgumentTypeDate(SpecArgumentType):
return SpecArgumentType.name(self) or "yyyy-mm-dd"
def simple(self, args):
if args:
- return date_human(args[0], 1)
+ return date_human(args[0]), 1
return None, 1
class SpecArgumentPrivateType(SpecArgumentType):