Skip to content

Conversation

anton-shablyko
Copy link

@anton-shablyko anton-shablyko commented Feb 13, 2022

Based on: #76

Extended function "_get_json_for_random_dates" to accept optional start_date and\or end_date parameters.

If only start_date is provided - the current date will be used as an end_date.
if only end_date provided - 6/16/1995 will be used as a start_date.

The function will raise value error if:

  • count number exceeds the number of dates in the provided range
  • start date is after the end date

Updated readme.md to reflect my changes.

Now function _get_json_for_random_dates accept a start_date and\or end_date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant