Adium

Ticket #7713 (closed defect: fixed)

Opened 1 year ago

Last modified 10 months ago

Online Time Displayed with Useless Information (1 Week 4 Days *0 Hours* 43 Minutes

Reported by: persept Assigned to: boredzo
Priority: normal Milestone: Adium X 1.2
Component: Adium UI Version:
Severity: normal Keywords: Online Time Hours Time
Cc: Patch: None
Pending: 0

Description

When dispalying the online time it will state that the person has been online for 1 Week 4 Days *0 Hours* 43 Minutes, even though it's pointless to say 0 Hours.

Attachments

Useless_Info.png (49.5 kB) - added by persept on 08/23/2007 10:34:59 PM.

Change History

08/23/2007 10:34:59 PM changed by persept

  • attachment Useless_Info.png added.

08/23/2007 10:39:53 PM changed by boredzo

  • owner changed from nobody to boredzo.
  • status changed from new to assigned.

08/24/2007 01:48:06 PM changed by boredzo

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [20757]) * Changed stringFromTimeInterval: implementation to use a mutable array and create the string by joining its elements.

  • Changed logic of non-approximate string-building to use the array, only adding each element if its associated number is not 0.
  • Changed seconds truth-tests to handle the floating-point number correctly (by comparing it to an epsilon value, which is currently 0.01). This was necessitated by r20756.

All tests now pass. Fixes #7713.

08/24/2007 02:29:39 PM changed by Robby

Milestone?

10/01/2007 02:17:46 PM changed by edr1084

  • milestone set to Adium X 1.2.

Marking as 1.2 because I don't see that it was merged, but if it was and I missed it, please change accordingly.