Page MenuHomePhabricator

"Time spent" in Phrequent is incorrect
Closed, ResolvedPublic

Description

I have tracked several periods with arc start and arc stop:
{F181123, size=full}

But the 'Time spent' field on the task doesn't add them up:
{F181120, size=full}

Event Timeline

nornagon assigned this task to hach-que.
nornagon raised the priority of this task from to Needs Triage.
nornagon updated the task description. (Show Details)
nornagon added a project: Phrequent.
nornagon added subscribers: nornagon, epriestley.

Has this been happening only recently? Since rP2101c3b?

If you revert that commit, does Maniphest show the expected amount of time?

It definitely worked before rP2101c3b, when I used the 'Start Tracking Time' and 'Stop Tracking Time' buttons on the web interface. Unfortunately that revision doesn't revert cleanly, so I wasn't able to test easily.

btrahan added a subscriber: witrin.Aug 6 2014, 5:53 PM

◀ Merged tasks: T5809.

@hach-que - do you want me to take a look at this? we got another report I merged into this ticket.

This is probably my fault, let me take a peek first.

witrin added a comment.Aug 6 2014, 6:36 PM

I'm pretty sure this is caused by D9939. I guess it's PhrequentTimeSlices::getDuration().

Yeah sorry, I was planning on getting time to look at this, but then stuff happened and I didn't.