Replies: 4 comments
-
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Beta Was this translation helpful? Give feedback.
-
@avicenteg I'd be interested in hearing more about your use case. We could potentially add the |
Beta Was this translation helpful? Give feedback.
-
@villebro In fact, I'm more interested in not having the seconds part. Maybe use the colonNotation isn't a good idea since it may lead to confussion with Time fields. For example: 3660000 ms => 1 h 57 m It will be great to have an option of passing the options to the formatter, but I understand that it is a little bit trickier than for D3. |
Beta Was this translation helpful? Give feedback.
-
Na idea how to achive this? I'm also only interessted in the days and maybe hours of the milliseconds. Is there any other way how to format numbers e.g. to inject a custom number formatter to superset without recompling the frontend? |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
When I'm working with durations, Superset offers me by default two options:
The first one is my favourite but sometimes I would like to have a simpler format. Instead of HH:mm:ss.s I'd prefer HH:mm.
Describe the solution you'd like
Add a new format in the format number section for durations coming from ms.
Duration in ms (66000 => 1m)
Describe alternatives you've considered
I think that my proposed solution is easy adding this option to the number-format package.
Beta Was this translation helpful? Give feedback.
All reactions