Bug 164785

Summary: Negative time displayed incorrectly
Product: [Applications] ktimetracker Reporter: Steven M. Parrish <smparrish>
Component: generalAssignee: Thorsten Staerk <dev>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.1.x   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Steven M. Parrish 2008-06-23 21:50:03 UTC
Version:            (using KDE 4.0.5)
Installed from:    Fedora RPMs
OS:                Linux

Description of problem:
harm has no '-' for negative times if less than 1 hour

Version-Release number of selected component (if applicable):
kdepim-3.5.7-3.fc7

How reproducible:
always

Steps to Reproduce:
1. edit a new task to subtract 1 hour. Note the '-' sign in front of the time.
2. edit the same task, and add 5 minutes. Note that the time is displayed as
'55' minutes, without the '-' sign.
  
Actual results:
negative time less than 1 hour has no '-'

Expected results:
negative time less than 1 hour has a '-'
Comment 1 Thomas McGuire 2008-06-23 21:56:15 UTC
I guess you mean "KArm" instead of "harm", so I reassign to KTimeTracker
Comment 2 Thorsten Staerk 2008-06-24 14:04:15 UTC
Confirmed. This bug exists or existed till short ago.
Comment 3 Thorsten Staerk 2008-06-24 14:06:55 UTC
The bug is fixed for ktimetracker (KDE 4), but still exists in KArm (KDE 3.5).
Comment 4 Thorsten Staerk 2008-06-24 14:30:53 UTC
http://websvn.kde.org/?view=rev&revision=785005
shows you a commit with the message
Patch by Modestas Vainius to show negative times with an abs value below
1 hour correctly. Thanks!
CCBUGS:146679
This means, it is fixed in the latest 3.5 version of KDE. Please see 
http://techbase.kde.org/Getting_Started/Sources/Anonymous_SVN
to understand how you can get the source and 
http://techbase.kde.org/Getting_Started/Build/Stable_Version
to understand how you can build it.

*** This bug has been marked as a duplicate of 146679 ***