Data view field format for Duration broken for Human-readable (precise) #170648
Labels
bug
Fixes for quality problems that affect the customer experience
:DataDiscovery/fix-it-week
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Kibana version: 8.10.4
Elasticsearch version: 8.10.4
Server OS version: Official Docker image
Browser version: Microsoft Edge 118.0.2088.76 (Official build) (64-bit)
Browser OS version: Windows 10 Enterprise 22H2
Original install method (e.g. download page, yum, from source, etc.): Docker
Describe the bug:
When setting a field format to
Duration
with Human-readable (precise) and input format seconds, the value 518400 (6 days) is correctly displayed as 6.00 days, but the value 691200 (8 days) is incorrectly shown as 2.14 weeks.Steps to reproduce:
1.
duration
seconds
to Duration, input format to Seconds, output format to Human-readable (precise)seconds
to Human-readable (approximate)Expected behavior: The label should show the correct value when using Human-readable (precise) output format.
Screenshots (if relevant):
Data view field format:
Incorrect Human-readable (precise)
Correct Human-readable (approximate)
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: