]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
We now store the receivers as well
[friendica.git] / src / Model / Event.php
index ef2b55b68cdc2ae29d4868f21a2d7bbb544cee02..dac00ceceb4a3e5e008db1bdaa839e5f17d6ed50 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -49,7 +49,7 @@ class Event
 
                $uriid = $event['uri-id'] ?? $uriid;
 
-               $bd_format = DI::l10n()->t('l F d, Y \@ g:i A'); // Friday January 18, 2011 @ 8 AM.
+               $bd_format = DI::l10n()->t('l F d, Y \@ g:i A \G\M\TP (e)'); // Friday October 29, 2021 @ 9:15 AM GMT-04:00 (America/New_York)
 
                $event_start = DI::l10n()->getDay(DateTimeFormat::local($event['start'], $bd_format));
 
@@ -230,7 +230,7 @@ class Event
                }
 
                DBA::delete('event', ['id' => $event_id]);
-               Logger::log("Deleted event ".$event_id, Logger::DEBUG);
+               Logger::info("Deleted event", ['id' => $event_id]);
        }
 
        /**