def list(self, request, *args, **kwargs):
        # Only return a single statistics object, for the authenticated user
        min_timestamp = request.query_params.get('min_timestamp')
        try:
            min_timestamp = datetime.datetime.strptime(min_timestamp, DATE_FORMAT)
            min_timestamp = pytz.timezone(request.user.timezone.zone).localize(min_timestamp)
        except __HOLE__:
            min_timestamp = period_models.today()
        queryset = self.filter_queryset(self.get_queryset())
        instance = queryset[0]
        instance.set_start_date_and_day(min_timestamp)
        serializer = self.get_serializer(instance)
        return Response(serializer.data)
dataset/ETHPy150Open jessamynsmith/eggtimer-server/periods/views.py/StatisticsViewSet.list