Time duration formatting is wrong when using numerical format |
|||||||
Issue descriptionChrome Version: All OS: All Chrome uses TimeDelta class to represent a duration of time. When UX shows this duration of time, it can use 4 different formats. An example is that if the time duration is 15 hours, 42 minutes and 30 seconds, UX will show: 1) 15 hours, 42 minutes, 30 seconds, if format is DURATION_WIDTH_WIDE; 2) 15 hr, 42 min, 30 sec, if format is DURATION_WIDTH_SHORT; 3) 15h 42m 30s, if format is DURATION_WIDTH_NARROW; 4) 15:42:30, if format is DURATION_WIDTH_NUMERIC. However, when it is above 24 hours, say the time duration is 25 hours, 42 minutes and 30 seconds, and the format is DURATION_WIDTH_NUMERIC, then: What is the expected result? 25:42:30 What happens instead? 1:42:30 This is found if I change "15 hours" to "25 hours" in TimeFormattingTest.TimeDurationFormat. Basically the hour value is mod by 24.
,
Dec 20 2016
,
Jan 2 2017
Deprecating UI>OSIntegration in favor of the more generic Internals>PlatformIntegration
,
Jan 13 2017
,
Jan 13 2017
,
Jan 13 2017
,
Jan 31 2017
,
Feb 16 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by chengx@chromium.org
, Dec 20 2016