On 01/24/2016 11:11 AM, Lele Gaifax wrote:
> Hi all,
>
> I'm a bit surprised to see the following:
>
> >>> r = c.execute(q, idtask=reception_presence_05_01.idtask).fetchall()
> >>> type(r[-1])
>
> >>> r[-1]
> (datetime.datetime(2016, 5, 1, 18, 0), datetime.datetime(2016, 5, 1, 22, 0)
Hi all,
I'm a bit surprised to see the following:
>>> r = c.execute(q, idtask=reception_presence_05_01.idtask).fetchall()
>>> type(r[-1])
>>> r[-1]
(datetime.datetime(2016, 5, 1, 18, 0), datetime.datetime(2016, 5, 1, 22, 0))
>>> r[-1][0]
datetime.datetime(2016, 5, 1, 18, 0)
>>> r