fix: Asia/Seoul 타임존 지원을 위해 luxon 라이브러리 도입

- backend/routes/todos.js: 오늘의 할일 조회 시 KST 기준으로 날짜 계산
- backend/routes/schedules.js: 주간/월간 일정 조회 시 KST 기준으로 날짜 범위 계산
- backend/routes/bible.js: 오늘의 성경 구절 조회 시 KST 기준으로 날짜 계산
- flutter_app: Mock 데이터 사용 시 타임존 관련 주석 추가
This commit is contained in:
kihong.kim
2026-02-01 01:21:14 +09:00
parent bde2fc14c7
commit 32e67bfcc2
6 changed files with 54 additions and 33 deletions

View File

@@ -20,6 +20,7 @@ class TodoService {
Future<List<TodoItem>> fetchTodayTodos() async {
if (ApiConfig.useMockData) {
// Using device's local timezone (should be Asia/Seoul for Korean users)
final now = DateTime.now();
final today = DateTime(now.year, now.month, now.day);
final tomorrow = today.add(const Duration(days: 1));