-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Incorrectly displayed Timesheet page information (submitted via a gazu script) #1686
Comments
What Gazu method do you use to define the spent time? |
gazu.task.add_time_spent according to the docs it requires the time in seconds, but when we tried this, it produced too high values. It is actually appended in minutes. |
On the top of your "Timesheets" page, the "Unit" selector is set to "day" or "hour"? To recap, for an 8 hour day, 10 minutes = 0.1666 hour = 0.02 day |
ah I think that's the issue - its not corresponding. I think an extra option in minutes should be introduced which will display actuals. This should also be applied across the platform as there's 3 different ways to display time and it's getting confusing - the time is displayed in decimal hours on the right, whereas it can be displayed as % of a day (from 0-1), but if you pull the information from the api it gives you the number of minutes. I can rescind the bug, but I still think that there needs to be a limit on the number of decimal places visible if we're sticking with this way. |
Related to GitHub issue cgwire#1686
Related to GitHub issue cgwire#1686
Related to GitHub issue cgwire#1686
I just fixed the unit change (hour/day) in the right panel in Kitsu 0.20.30. |
@EvanBldy will check the Gazu documentation about the
|
Related to GitHub issue cgwire#1686
Kitsu version: 0.20.25
Production type: all
We have a script which allows for backdating timesheet information.
While the information in the task is looking correct, the numbers in the timesheet page is wrong, and equates to several decimal places.
10 minutes for a task added on an 8 hour day. Task logs as 0.02 days which is correct, timesheet logs as 0.16666' which is wrong. Summed time for the day is also incorrect.
We also need the ability to showcase the number of hours in the timesheet page / across the platform instead of a decimal value of a day which is confusing.
The gazu manual also mentions that the time should be added in seconds for the user - it's actually supposed to be in minutes.
Please see the screenshots:
The text was updated successfully, but these errors were encountered: