correctly parsing date, need to adjust Django views to handle AJAX GET request.