Python date de yy/mm/dd a yy-mm-dd
lastconnection = datetime.strptime("21/12/2008", "%d/%m/%Y").strftime('%Y-%m-%d')
Yucky Yacare
lastconnection = datetime.strptime("21/12/2008", "%d/%m/%Y").strftime('%Y-%m-%d')
const formatYmd = date => date.toISOString().slice(0, 10);
formatYmd(new Date());