wierd date range rendering issue