You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately since React-Calendar i18n depends entirely on browser's support for Intl, there's nothing I can personally do.
However, note that in our README there's Intl polyfill mentioned, and this polyfill actually supports az locale.
Here's how you can add the polyfill:
import React from 'react';
import { render } from 'react-dom';
import App from './app';
+import IntlPolyfill from 'intl';+import 'intl/locale-data/jsonp/az.js';++if (global.Intl) {+ Intl.DateTimeFormat = IntlPolyfill.DateTimeFormat;+} else {+ global.Intl = IntlPolyfill;+}
render(
<App />,
document.getElementById('react-root'),
);
Before you start - checklist
Description
az-AZ locale doesn't work on following browsers: Chrome, Opera, Brave. I checked another browser like edge it worked.
Steps to reproduce
send to locale prop this keyword: "az-AZ":
and check the browsers which I mentioned above
Expected behavior
I expect the month name in my own language (Sentyabr, Oktyabr)
Actual behavior
It looks like for the M09 or M10.
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: