aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/time/time.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/layout/time/time.tsx')
-rw-r--r--src/components/atoms/layout/time/time.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/atoms/layout/time/time.tsx b/src/components/atoms/layout/time/time.tsx
index 02b4763..886fee0 100644
--- a/src/components/atoms/layout/time/time.tsx
+++ b/src/components/atoms/layout/time/time.tsx
@@ -4,7 +4,7 @@ import {
forwardRef,
} from 'react';
import { useIntl } from 'react-intl';
-import { settings } from '../../../../utils/config';
+import { CONFIG } from '../../../../utils/config';
type GetDateOptionsConfig = {
hasDay: boolean;
@@ -65,7 +65,7 @@ export type TimeProps = Omit<
/**
* The current locale.
*
- * @default settings.locales.defaultLocale
+ * @default CONFIG.locales.defaultLocale
*/
locale?: string;
/**
@@ -88,7 +88,7 @@ const TimeWithRef: ForwardRefRenderFunction<HTMLTimeElement, TimeProps> = (
hideDay = false,
hideMonth = false,
hideYear = false,
- locale = settings.locales.defaultLocale,
+ locale = CONFIG.locales.defaultLocale,
showTime = false,
showWeekDay = false,
...props