Skip to content

Cannot Localize Calendar Heatmap #15932

@nick-true-dev

Description

@nick-true-dev

Version

5.2.1

Reproduction link

https://codesandbox.io/s/blue-dawn-v3ten?file=/src/index.js

Steps to reproduce

none required

What is expected?

I expect the month and day abbreviations to be in "ZH" locale.

What is actually happening?

The month and day abbreviations are in "EN" locale.


Note that what I really am trying to do is localize the calendar heatmap to languages like French and German which I understand have to be registered separately. But to demonstrate this bug, I just use the built in locales for simplicity's sake.

FYI, here is an example of localization working on a bar chart: https://codesandbox.io/s/thirsty-sea-kq648?file=/src/index.js

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions