forked from Wavyzz/dolibarr
Merge pull request #12115 from TobiasSekan/develop
Fix MS Outlook import error
This commit is contained in:
@@ -180,7 +180,9 @@ function build_calfile($format, $title, $desc, $events_array, $outputfile)
|
|||||||
|
|
||||||
if (! empty($location)) fwrite($calfileh, "LOCATION:".$encoding.$location."\n");
|
if (! empty($location)) fwrite($calfileh, "LOCATION:".$encoding.$location."\n");
|
||||||
if ($fulldayevent) fwrite($calfileh, "X-FUNAMBOL-ALLDAY:1\n");
|
if ($fulldayevent) fwrite($calfileh, "X-FUNAMBOL-ALLDAY:1\n");
|
||||||
if ($fulldayevent) fwrite($calfileh, "X-MICROSOFT-CDO-ALLDAYEVENT:1\n");
|
|
||||||
|
// see https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcical/0f262da6-c5fd-459e-9f18-145eba86b5d2
|
||||||
|
if ($fulldayevent) fwrite($calfileh, "X-MICROSOFT-CDO-ALLDAYEVENT:TRUE\n");
|
||||||
|
|
||||||
// Date must be GMT dates
|
// Date must be GMT dates
|
||||||
// Current date
|
// Current date
|
||||||
|
|||||||
Reference in New Issue
Block a user