Skip to content

Addressing Issue#76. Adding start_date, end_date parameters to the _get_json_for_random_dates function.#91

Closed
anton-shablyko wants to merge 1 commit intonasa:masterfrom
anton-shablyko:issue_#76
Closed

Addressing Issue#76. Adding start_date, end_date parameters to the _get_json_for_random_dates function.#91
anton-shablyko wants to merge 1 commit intonasa:masterfrom
anton-shablyko:issue_#76

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
@dcrendon dcrendon closed this Jan 22, 2026
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.

2 participants