diff options
| author | 2020-02-06 16:40:02 +0000 | |
|---|---|---|
| committer | 2020-02-06 16:40:02 +0000 | |
| commit | f52a824ffb7202ea11a1754c3d9d5ed7a8ebc5bc (patch) | |
| tree | 3176f79a500d50927e2ae69f94ec30196f4b1a1b /src | |
| parent | only pull 'charset' from <meta> content-type when it definitely exists (diff) | |
| signature | ||
fix SpecTypeArgumentDate simple()
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/parse/spec.py | 2 |
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): |
