You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/09 08:31:48 UTC
[GitHub] [superset] cdmikechen commented on a change in pull request #13020: fix: Let superset configure the correct time display according to locale
cdmikechen commented on a change in pull request #13020:
URL: https://github.com/apache/superset/pull/13020#discussion_r572683847
##########
File path: superset/views/base.py
##########
@@ -327,6 +329,17 @@ def common_bootstrap_payload() -> Dict[str, Any]:
}
+def get_moment_locale(locale):
Review comment:
@zhaoyongjie
Hi~ My modification is to let superset use the correct language to describe time, such as `7 days ago` -> `7天之前`.
Time zone should be an extra treatment. My modification does not involve time zone.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org