Bug 164785 - Negative time displayed incorrectly
Summary: Negative time displayed incorrectly
Status: RESOLVED DUPLICATE of bug 146679
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: 4.1.x
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Thorsten Staerk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 21:50 UTC by Steven M. Parrish
Modified: 2008-06-24 14:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***