Commit Graph

5 Commits

Author SHA1 Message Date
focp212@naver.com
5f973b2496 잇슈 수정 2025-10-31 17:49:11 +09:00
Jay Sheen
2ff49ef4ab Remove '일' suffix from Korean calendar day numbers
Modified formatDay function in both calendar components:
- For Korean locale (ko), display only the day number (e.g., '10' instead of '10일')
- For other locales, use default toLocaleString formatting

Changes:
- nice-calendar.tsx: Updated formatDay to check currentLocale === 'ko'
- nice-calendar-month.tsx: Updated formatDay to check currentLocale === 'ko'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 16:59:36 +09:00
Jay Sheen
70a40c1c01 Add locale support to calendar components (ko, en)
Applied i18n locale to both calendar components:

Changes to nice-calendar.tsx:
- Added useTranslation hook import
- Get current locale from i18n.language
- Updated all format functions (formatMonthYear, formatYear, formatMonth, formatDay, formatShortWeekday) to use currentLocale instead of hardcoded 'en'
- Added locale prop to Calendar component

Changes to nice-calendar-month.tsx:
- Added useTranslation hook import
- Get current locale from i18n.language
- Updated all format functions to use currentLocale instead of hardcoded 'en'
- Added locale prop to Calendar component

Now calendars will display in Korean when language is set to 'ko' and in English when set to 'en'.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31 16:57:28 +09:00
focp212@naver.com
74ed1ff1ad 세금 계산서 및 달력 월 형태 수정 2025-10-23 11:07:56 +09:00
focp212@naver.com
b9bca08cdb 부가세 신고 세금 계산서 리스트 및 상세, 필터, 캘린더 컴포넌트 month 형 추가 2025-09-25 18:02:04 +09:00