We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dffc7f commit 21ed71aCopy full SHA for 21ed71a
src/components/Calendar/index.jsx
@@ -7,10 +7,10 @@ export default function Calendar() {
7
timezone: 'UTC',
8
});
9
useEffect(() => {
10
- const locale = Intl.DateTimeFormat().resolvedOptions().locale;
11
- const firstDay = (new Intl.Locale(locale)).weekInfo.firstDay + 1;
12
- const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
13
- setState({firstDay: firstDay, timezone: timezone});
+ const locale = Intl.DateTimeFormat().resolvedOptions().locale;
+ const firstDay = (new Intl.Locale(locale)).weekInfo.firstDay + 1;
+ const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
+ setState({firstDay: firstDay, timezone: timezone});
14
})
15
return (
16
<iframe
0 commit comments