1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00
This commit is contained in:
Thomas Zilio 2020-07-12 16:06:08 +02:00
parent 11a2ede111
commit 44f5e89d6b

View File

@ -52,10 +52,10 @@ class Sync extends Resource implements RetrieveInterface, UpdateInterface
$result .= "BEGIN:VEVENT\n";
$result .= 'UID:'.$r['idriga']."\n";
$result .= 'DTSTAMP:'.$now->toIso8601String()."\n";
$result .= 'DTSTAMP:'.$now->format('Ymd\THis')."\n";
//$result .= 'ORGANIZER;CN='.$azienda.':MAILTO:'.$email."\n";
$result .= 'DTSTART:'.$inizio->toIso8601String()."\n";
$result .= 'DTEND:'.$fine->toIso8601String()."\n";
$result .= 'DTSTART:'.$inizio->format('Ymd\THis')."\n";
$result .= 'DTEND:'.$fine->format('Ymd\THis')."\n";
$result .= 'SUMMARY:'.html_entity_decode($r['summary'])."\n";
$result .= 'DESCRIPTION:'.html_entity_decode($richiesta, ENT_QUOTES, 'UTF-8')."\n";
$result .= "END:VEVENT\n";