hcengineering / hcengineering/platform

The time adding panel does not work and calculates time incorrectly

Open
#7,977 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

![Image](https://github.com/user-attachments/assets/10fc01fd-f1a4-466e-8cfb-0eedc0e04853)
I can't add the time I spent on the project

![Image](https://github.com/user-attachments/assets/56b037b6-ac99-40aa-9195-13852d381b36)

also there is an error in calculating time, I spent 12 hours on the project, and here it says 1 day. Today on planet Earth there are 24 hours in a day, there can't be 1 day here
![Image](https://github.com/user-attachments/assets/e1cec2dc-36ab-4b07-877a-1aee50be498f)

and another moment from the category of drug abuse or schizophrenia
if I spent 4 minutes on a project... then why can't I indicate 4m? Sorry, but it's extremely stupid to go to the calculator and calculate how many minutes are in an hour to indicate 4 minutes (0.0666667)

![Image](https://github.com/user-attachments/assets/f219ced1-c72b-4873-90a6-2c18703a3f88)

and here comments are unnecessary, the site perfectly translates 0.6 into 3 minutes...
![Image](https://github.com/user-attachments/assets/b7a3bd07-089b-4ff9-b46b-bceafe136aec)

please don't use drugs, 0.0666667 is not normal

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior in the time adding panel, including the failed time entry, the 12-hour display, and the 4m input. Done means time can be added successfully, durations are displayed consistently, and minute values such as 4m can be entered directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.