# | Nome | Nota | |
---|---|---|---|
% if loop.index == 0:
1º% else: ${loop.index+1} % endif |
% if loop.index == 0:
% else:
${r[1]}
% endif
|
% if r[2] < 10:
|
<% dt = datetime.now() - datetime.strptime(r[3], '%Y-%m-%d %H:%M:%S.%f') %> % if dt.days > 0: ${dt.days}d % elif dt.seconds >= 3600: ${dt.seconds // 3600}h % elif dt.seconds >= 60: ${dt.seconds // 60}m % else: ${dt.seconds}s % endif |