summaryrefslogtreecommitdiff
path: root/app/services/spam/akismet_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/spam/akismet_service.rb')
-rw-r--r--app/services/spam/akismet_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/spam/akismet_service.rb b/app/services/spam/akismet_service.rb
index 7d16743b3ed..ab35fb8700f 100644
--- a/app/services/spam/akismet_service.rb
+++ b/app/services/spam/akismet_service.rb
@@ -17,7 +17,7 @@ module Spam
params = {
type: 'comment',
text: text,
- created_at: DateTime.now,
+ created_at: DateTime.current,
author: owner_name,
author_email: owner_email,
referrer: options[:referrer]