make sure to use the user's time zone when composing test messages

This commit is contained in:
Adam Cooke
2018-01-13 19:06:44 +00:00
parent 67e37b0770
commit 5f88ee85bf
+1 -1
View File
@@ -17,7 +17,7 @@
@message.from = "test@#{domain.name}" @message.from = "test@#{domain.name}"
end end
end end
@message.subject = "Test Message at #{Time.now.to_s(:long)}" @message.subject = "Test Message at #{Time.zone.now.to_s(:long)}"
@message.plain_body = "This is a message to test the delivery of messages through Postal." @message.plain_body = "This is a message to test the delivery of messages through Postal."
end end