(self)
return datetime(date.year, date.month, date.day, 23, 59, 59)
Returns a datetime object at the end of the selected
        (or current) date. This is needed to properly filter
        transactions that occur during the day we are filtering
        for
Returns a datetime object at the end of the selected
        (or current) date. This is needed to properly filter
        transactions that occur during the day we are filtering
        for
Returns a datetime object at the end of the selected ( or current ) date . This is needed to properly filter transactions that occur during the day we are filtering for
def datetime(self):
        """
        Returns a datetime object at the end of the selected
        (or current) date. This is needed to properly filter
        transactions that occur during the day we are filtering
        for
        """
        # note: empty string is parsed as today's date
        date = self.config.get('date') or ''

        try:
            date = parser.parse(date).date()
        except ValueError:
            date = datetime.utcnow().date()

        return datetime(date.year, date.month, date.day, 23, 59, 59)
def datetime ( self ) : # note: empty string is parsed as today's date date = self . config . get ( 'date' ) or '' try : date = parser . parse ( date ) . date ( ) except ValueError : date = datetime . utcnow ( ) . date ( ) return datetime ( date . year , date . month , date . day , 23 , 59 , 59 )