-
Notifications
You must be signed in to change notification settings - Fork 272
Use d3 localization for time-format package #238
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
I have also encountered this problem, and I think I can analyze superset-ui codes and solve it |
@oskarhinc Can refer to Have add a d3locale json to support formatter, and change some functions to adapt to new code. You can test it to see if it works. |
Bumps [@vx/axis](https://github.com/hshoff/vx) from 0.0.191 to 0.0.192. - [Release notes](https://github.com/hshoff/vx/releases) - [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md) - [Commits](airbnb/visx@v0.0.191...v0.0.192) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: apache/superset#13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant. |
Is your feature request related to a problem? Please describe.
The date and time presented within the time-format package are not translated for different languages. It could be changed, so the localization would be supported.
Describe the solution you'd like
D3 library supports localization, as described in the project description. The easiest way would be probably changing the default locale at a proper moment.
Describe alternatives you've considered
According to d3 docs it is also possible to avoid setting the default locale multiple times, and use proper locale definition when needed, but this might be more complex.
The text was updated successfully, but these errors were encountered: