Skip to content
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

Project data table shows truncated hours #1642

Closed
cantsin opened this issue Jul 7, 2023 · 1 comment · Fixed by #1743
Closed

Project data table shows truncated hours #1642

cantsin opened this issue Jul 7, 2023 · 1 comment · Fixed by #1743
Assignees

Comments

@cantsin
Copy link
Contributor

cantsin commented Jul 7, 2023

At least one user has reported confusion about how we round up or display hours on the project page.

It turns out that when we make a project chart and table we explicitly truncate the hours by doing applymap("{:.0f}".format). I am not sure this is desired behavior, especially as we provide "export CSV" functionality. We probably want to display the fractional hours as well (:.2f).

@cantsin
Copy link
Contributor Author

cantsin commented Mar 4, 2024

FYSA DataFrame.applymap seems deprecated. We should be using DataFrame.map instead.

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 a pull request may close this issue.

2 participants