From f52a824ffb7202ea11a1754c3d9d5ed7a8ebc5bc Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 6 Feb 2020 16:40:02 +0000 Subject: [PATCH] fix SpecTypeArgumentDate simple() --- src/utils/parse/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):