villebro commented on code in PR #30593:
URL: https://github.com/apache/superset/pull/30593#discussion_r1799985260
##########
superset-frontend/src/setup/setupFormatters.ts:
##########
@@ -78,6 +79,7 @@ export default function setupFormatters(
'DURATION_SUB',
createDurationFormatter({ formatSubMilliseconds: true }),
)
+ .registerValue('TIME_DURATION', createTimeDurationFormatter())
Review Comment:
Please check the `README.md` in the `number-format` directory for an example
how to implement this. I believe this should do it:
```suggestion
.registerValue('DURATION_COL', createTimeDurationFormatter({
colonNotation: true }))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]