occidere / DailyOMG

DailyOMG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

스케줄 파싱 링크 생성 방법 수정

occidere opened this issue · comments

스케줄 파싱 링크 생성 방법 수정

상황

아래와 같이 now() 를 기준으로 month 를 계산하기 때문에 2/28 일 에 range = 3 으로 추후 3일치 스케줄을 요청하면 파싱이 안됨
(애초에 2월 스케줄만 파싱하고, 3월은 시도하질 않음)

String params = String.format("&year=%04d&month=%d", now.getYear(), now.getMonthValue());