Hello everybody girls and boys,
I need your help to correct my code I suppose. My code “vCalendar” keep the parameters in the QRCode. So I can’t trigger the feature “Add to the calendar” that is expected.
See below the code I used and that I have copied from a tutorial on grist that run correctly on his side.
’ \n ‘.join([
‘BEGIN:VCALENDAR’,
’VERSION:2.0 ‘,
‘BEGIN:VEVENT’ ,
‘SUMMARY:’ + $Intitule_evenement,
‘DTSTART:’ +
str(YEAR($Date_debut)) +
str(MONTH($Date_debut)).zfill(2) +
str(DAY($Date_debut)).zfill(2) + ‘T’ +
str(HOUR($Date_debut)).zfill(2) +
str(MINUTE($Date_debut)).zfill(2) ,
’DTEND:’ +
str(YEAR($Date_de_fin)) +
str(MONTH($Date_de_fin)).zfill(2) +
str(DAY($Date_de_fin)).zfill(2) + ‹ T › +
str(HOUR($Date_de_fin)).zfill(2) +
str(MINUTE($Date_de_fin)).zfill(2) ,
‘LOCATION:’ +
$Lieu,
‘END:VEVENT’,
‘END:VCALENDAR’
])
This my result :
I don’t see my errors.
Please, give me your help !
Fab.
