[DOCS] Lowest date_range granularity is day (#451)
This commit is contained in:
parent
73094e79bb
commit
17e5ca3904
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ class StringDatetimeValidator(OverridesStringFormatterValidator):
|
||||||
(now|today|yesterday|date)[+-][0-9](microsecond|second|minute|hour|day|week|month|year)(s)
|
(now|today|yesterday|date)[+-][0-9](microsecond|second|minute|hour|day|week|month|year)(s)
|
||||||
|
|
||||||
Valid examples are ``now-2weeks`` or ``20200101``. Can use override variables in this.
|
Valid examples are ``now-2weeks`` or ``20200101``. Can use override variables in this.
|
||||||
|
Note that yt-dlp will round times to the closest day, meaning that `day` is the lowest
|
||||||
|
granularity possible.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_expected_value_type_name = "datetime string"
|
_expected_value_type_name = "datetime string"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue