def _parseDateTime(self, date):
        try:
            return datetime.strptime(date, "%Y-%m-%d %H:%M:%S")
        except __HOLE__:
            return datetime.strptime(date, "%Y-%m-%d %H:%M")
dataset/ETHPy150Open cpfair/tapiriik/tapiriik/services/Motivato/motivato.py/MotivatoService._parseDateTime