Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Clarify whether --datebefore and --dateafter are inclusive or exclusive #2093
Comments
|
At the moment, both are inclusive. While the names do indeed indicate an exclusive behavior, I'm fine with keeping it as it is. Be aware that the upload date is necessarily imprecise and often missing anyways, so this is more of a heuristic. I'm leaning towards simply documenting the current behavior and changing the example. Any thoughts about that? |
|
Sounds good. Thanks! |
According to the README the following command "will only download the videos uploaded between 2000 and 2010":
This indicates that
--dateafteris inclusive and--datebeforeis exclusive. It would be nice if this could be clarified in the documentation. And if this is the case, the former should probably be named--datefromor--date-from.