[haiku-bugs] [Haiku] #13686: Web+: Use BDurationFormat to format time remaining in Downloads.

  • From: "akshay" <trac@xxxxxxxxxxxx>
  • Date: Sun, 27 Aug 2017 05:48:51 -0000

#13686: Web+: Use BDurationFormat to format time remaining in Downloads.
--------------------------------------+------------------------------
 Reporter:  akshay                    |        Owner:  pulkomandy
     Type:  enhancement               |       Status:  new
 Priority:  normal                    |    Milestone:  Unscheduled
Component:  Applications/WebPositive  |      Version:  R1/Development
 Keywords:                            |   Blocked By:
 Blocking:                            |  Has a Patch:  0
 Platform:  All                       |
--------------------------------------+------------------------------
 Currently I am using BDurationFormat instead of BRelativeDateTimeFormat
 because it will give more precise duration left. For e.g in case the time
 remaining is '1hr 50 mins', BDurationFormat will result in '1 hr, 50 min'
 whereas BRelativeDateTimeFormat will result in 'in 1 hour'. In my opinion
 having a more precise time(for a download time) would be better. But for
 longer duration probably using BRelativeDateTime format would be better.
 Others can give a better idea on this.

 '''Currently''' if say the system time is 11:05 A.M and time remaining for
 download is '1 hr 50mins' it shows the status as '''(Finish: 12:55 - Over
 1 hours left)'''.

 With the '''changes''' it will show the status as '''(Time Left: 1 hours
 50 minutes)'''

 Translation for 'Time left' would have to be added in the catkeys files.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13686>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: