villebro commented on a change in pull request #8276: More intuitive display of 
negative time deltas (#8274)
URL: 
https://github.com/apache/incubator-superset/pull/8276#discussion_r326868933
 
 

 ##########
 File path: superset/utils/core.py
 ##########
 @@ -349,6 +349,23 @@ def datetime_f(dttm):
     return "<nobr>{}</nobr>".format(dttm)
 
 
+def timedelta_f(td: timedelta) -> str:
 
 Review comment:
   Perhaps `format_timedelta` might be more descriptive?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to