달력
This commit is contained in:
@@ -6,7 +6,6 @@ import 'react-calendar/dist/Calendar.css';
|
|||||||
import { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
import { CalendarType } from '@/entities/common/model/types';
|
import { CalendarType } from '@/entities/common/model/types';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
|
||||||
import { FullMenuClose } from '@/entities/common/ui/full-menu-close';
|
import { FullMenuClose } from '@/entities/common/ui/full-menu-close';
|
||||||
|
|
||||||
interface NiceCalendarProps {
|
interface NiceCalendarProps {
|
||||||
@@ -94,7 +93,7 @@ const NiceCalendar = ({
|
|||||||
// For Korean locale, return only the day number without '일'
|
// For Korean locale, return only the day number without '일'
|
||||||
|
|
||||||
return date.toLocaleString('en', {
|
return date.toLocaleString('en', {
|
||||||
day: '2-digit',
|
day: 'numeric',
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user