Commit cc0a6c56 authored by trojkilla's avatar trojkilla Committed by Rémy Coutable

Update Unknown signin email timestamp to use 24 hour time

Changelog: changed
parent 4872158f
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
%td{ style: "#{default_style}border-top:1px solid #ededed;" } %td{ style: "#{default_style}border-top:1px solid #ededed;" }
= _('Time') = _('Time')
%td{ style: "#{default_style}color:#333333;font-weight:400;width:75%;padding-left:5px;border-top:1px solid #ededed;" } %td{ style: "#{default_style}color:#333333;font-weight:400;width:75%;padding-left:5px;border-top:1px solid #ededed;" }
= @time.strftime('%Y-%m-%d %l:%M:%S %p %Z') = @time.strftime('%Y-%m-%d %k:%M:%S %Z')
%tr.spacer %tr.spacer
%td{ style: spacer_style } %td{ style: spacer_style }
   
......
...@@ -30,4 +30,4 @@ for a notification email to be sent. ...@@ -30,4 +30,4 @@ for a notification email to be sent.
## Example email ## Example email
![Unknown sign in email](img/unknown_sign_in_email_v13_1.png) ![Unknown sign in email](img/unknown_sign_in_email_v14_0.png)
...@@ -337,7 +337,7 @@ RSpec.describe Emails::Profile do ...@@ -337,7 +337,7 @@ RSpec.describe Emails::Profile do
end end
it 'mentioned the time' do it 'mentioned the time' do
is_expected.to have_body_text current_time.strftime('%Y-%m-%d %l:%M:%S %p %Z') is_expected.to have_body_text current_time.strftime('%Y-%m-%d %k:%M:%S %Z')
end end
it 'includes a link to the change password documentation' do it 'includes a link to the change password documentation' do
......
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