stop date from start date, duration leaves out last day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start by locating get_date_parameters and reproduce the issue with the seis_cat_cfg example shown. Update the date calculation so the resulting stop_date includes the final day through 23:59, then verify the returned configuration matches the expected value.
Written by the indexing model from the issue text.
Description
seis_cat_cfg = {'start_date': '1976-01-01', 'duration': 40}
get_date_parameters(seis_cat_cfg)
seis_cat_cfg
{'start_date': datetime.datetime(1976, 1, 1, 0, 0),
'duration': 40,
'stop_date': datetime.datetime(2015, 12, 31, 0, 0)}
stop_date should be datetime.datetime(2015, 12, 31, 23, 59).
- Dominant language
- Python
- Stars
- 3
- Forks
- 2
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GEMScienceTools/hamlet
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
GEMScienceTools/hamlet#47 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GEMScienceTools/hamlet#30 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
GEMScienceTools/hamlet#27 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
GEMScienceTools/hamlet#26 ·
-
GEMScienceTools/hamlet#20 · 1 assignee ·
All issues in GEMScienceTools/hamlet
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100