From b738d571310f790de0a47a59a579829142cecd66 Mon Sep 17 00:00:00 2001 From: veselovnk Date: Sat, 27 Apr 2024 16:38:03 +0300 Subject: [PATCH] MSP-3203 add dayjs locale --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 4b578e6..7d9be4e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -6,10 +6,13 @@ import { BrowserRouter } from 'react-router-dom' import App from './components/App.tsx' import { setupStore } from './stores' +import 'dayjs/locale/ru' import 'react-resizable/css/styles.css' import 'simplebar-react/dist/simplebar.min.css' +import dayjs from 'dayjs' +dayjs.locale('ru') const store = setupStore() setupListeners(store.dispatch) const root = createRoot(document.getElementById('root') as HTMLElement)