summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/F2M.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/F2M.php b/src/F2M.php
index 5933f36..d65ec15 100644
--- a/src/F2M.php
+++ b/src/F2M.php
@@ -26,7 +26,7 @@ function send_to_lists($user, $data, $post_data) {
$userEmail = $user->data['user_email'];
$subject = $post_data['post_subject'];
- $date = $phpbb->getPostTime($postId);
+ $date = date(DATE_RFC2822, $phpbb->getPostTime($postId));
$body = $data['message'];