fix range date for week analyzer