Team Elements

Status: Caution PostgreSQL Open Source Initiative (OSI) Java
PUBLIC PROFILE

Back to topics

Issues and Open Discussion

Timesheet calculation

You need to be logged in to post messages

Timesheet calculation

8/16/2006 7:55 AM EDT

Hi,

In timesheet table when user get a summary (Total per day or total per project for a week) hours a calculated as int. This done by parseInt JavaScript function.
If one enters 1h30min 1.5 hours the total value will be wrong.
The upper summary line shows hours correctly.
How to resolve the issue:
In projects_timesheet_week.jsp change parseInt to parseFloat.