Commit e62d4a75 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'trojkilla-master-patch-92474' into 'master'

Update Unknown signin email timestamp - 24 hour time

See merge request gitlab-org/gitlab!47748
parents f16932a6 cc0a6c56
...@@ -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