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

  • From: "akshay" <trac@xxxxxxxxxxxx>
  • Date: Tue, 29 Aug 2017 03:08:42 -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
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by akshay):

 Thanks for explaining that. :)

 ICU::RelativeDateTimeFormatter doesn't support wording it that way. it
 only supports ('in' 2 hours). Not sure if it can be done any way else
 using ICU.

 Probably then the way it's implemented in tracker status window is the
 best for this. It also shows exact end date + approx duration and makes
 use of appropriate time formatters.

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

Other related posts: