docs: 브리핑 시간 표시 문제 해결 추가 - substring(0, 5)로 시간 형식 변환

This commit is contained in:
happybell80 2025-08-28 01:20:56 +09:00
parent aa64e8fdc1
commit e042c9ee10

View File

@ -294,11 +294,24 @@ async def proxy_preferences(
### 최종 상태 (23:30)
- GET /api/preferences/{user_id}: 200 OK ✅
- PUT /api/preferences/{user_id}: 200 OK ✅
- 브리핑 시간 표시: "09:00" 정상 표시 ✅
---
## 10. PUT 500 에러 해결 과정 (22:45 ~ 23:30)
### 추가 해결: 브리핑 시간 표시 문제 (01:10)
- **문제**: DB `09:00:00` → Frontend `00:00` 표시
- **원인**: TIME 형식 파싱 오류
- **해결**: `activity-panel.tsx` line 104
```javascript
// Backend에서 "09:00:00" 반환 → Frontend에서 "09:00"로 변환
scheduleTime: data.briefing_time ? data.briefing_time.substring(0, 5) : '09:00'
```
- **결과**: 정상 표시 완료 ✅
## 11. 최종 해결 내역
### 문제 1: 존재하지 않는 컬럼 참조
- **원인**: INSERT/UPDATE 쿼리가 DB에 없는 컬럼 참조
- **해결**: schedule_type, schedule_days, include_* 컬럼 제거