elastic/kibana
Voir sur GitHub[Field Formats] Duration formatter should handle pluralization for single values
Open
#196 761 ouverte le 17 oct. 2024
Feature:FieldFormattersTeam:DataDiscoverygood first issueimpact:lowloe:small
Métriques du dépôt
- Stars
- (19 065 stars)
- Métriques de merge PR
- (Merge moyen 1j 16h) (999 PRs mergées en 30 j)
Description
Describe the feature:
The Friendly duration formatters should account for singular values. Currently, we only use pluralized formats.
This is where we compute the unit text and join it with the value...
Here is the list of all values...
This only applies to the long form text strings and not the shortText strings.
Describe a specific use case for the feature:
Notice
1 secondsshould be1 second.
Pretty simple and low impact but could be nice.