-
Notifications
You must be signed in to change notification settings - Fork 130
Update time_entry.rst to fix doc issue 165 #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
the hour param should be float, I do not see any limitaion on that and Redmien takes floats for the time entries. Addusted also doctests to test and reflect changes
Thanks. Actually Redmine accepts both integer and float for hour parameter. Can you please adjust your pull request for this. After that I will be happy to merge it. |
adjusted to fix #165 |
docs/resources/time_entry.rst
Outdated
|
||
:param integer issue_id or project_id: (required). The issue id or project id to log time on. | ||
:param integer hours: (required). The number of spent hours. | ||
:param integer or float hours: (required). The number of spent hours. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't work this way, have a look at the definition of spent_on param below
docs/resources/time_entry.rst
Outdated
:param integer resource_id: (required). Time entry id. | ||
:param integer issue_id or project_id: (optional). The issue id or project id to log time on. | ||
:param integer hours: (optional). The number of spent hours. | ||
:param integer or float hours: (optional). The number of spent hours. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't work this way, have a look at the definition of spent_on param below
Changes Unknown when pulling 6775f81 on loechel:patch-1 into ** on maxtepkeev:master**. |
Yes, this is good, thank you. Will merge it a little bit later today. |
Update time_entry.rst to fix doc issue #165, the hour param should not be only integer it should be integer or float, I do not see any limitation on that and Redmine takes also floats for the time entries.
Addusted also doctests to test and reflect changes