1
0
Fork 0

Fix --date today

Closes #3704
This commit is contained in:
pukkandan 2022-05-11 05:52:31 +05:30
commit 3d38b2d6d0
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
3 changed files with 19 additions and 21 deletions

View file

@ -435,9 +435,8 @@ def create_parser():
'--date',
metavar='DATE', dest='date', default=None,
help=(
'Download only videos uploaded on this date. '
'The date can be "YYYYMMDD" or in the format '
'"(now|today)[+-][0-9](day|week|month|year)(s)?"'))
'Download only videos uploaded on this date. The date can be "YYYYMMDD" or in the format '
'[now|today|yesterday][-N[day|week|month|year]]. Eg: --date today-2weeks'))
selection.add_option(
'--datebefore',
metavar='DATE', dest='datebefore', default=None,