Commit 7a69df99 authored by Cool Fire's avatar Cool Fire

Added timezone to mail

parent fe408174
...@@ -11,6 +11,7 @@ iplist = Array.new ...@@ -11,6 +11,7 @@ iplist = Array.new
# Get the date # Get the date
date = Date.today.prev_day date = Date.today.prev_day
zone = Time.now.zone
fw_date = date.strftime('%m/%d/%Y') fw_date = date.strftime('%m/%d/%Y')
f2b_date = date.strftime('%Y-%m-%d') f2b_date = date.strftime('%Y-%m-%d')
...@@ -99,7 +100,7 @@ Dear #{abuse_contact}, ...@@ -99,7 +100,7 @@ Dear #{abuse_contact},
We wish to inform we have been attacked from the following IP address: We wish to inform we have been attacked from the following IP address:
#{ip.to_s} #{ip.to_s}
At the bottom of this email you will find more details about this attack. At the bottom of this email you will find more details about this attack. All times listed are #{zone}.
This email was automatically generated. You are receiving this email because you are listed as the abuse contact for this IP address. If this is incorrect please contact your own IT department to have this corrected. This email was automatically generated. You are receiving this email because you are listed as the abuse contact for this IP address. If this is incorrect please contact your own IT department to have this corrected.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment