From c4edb3a8d8062bfda977195474db88f581b3403a Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 29 Aug 2017 11:21:25 +0100 Subject: [PATCH] Talk about time of last password change relatively MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit People don’t talk about having last changed their password ‘on 15 July’; they talk about having changed it ‘two weeks ago’. Interfaces are usually clearer when they employ the same language as the people using them. --- app/templates/views/user-profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/user-profile.html b/app/templates/views/user-profile.html index e3f7da255..3ddd1ffc1 100644 --- a/app/templates/views/user-profile.html +++ b/app/templates/views/user-profile.html @@ -14,7 +14,7 @@ {'label': 'Name', 'value': current_user.name, 'url': url_for('.user_profile_name')}, {'label': 'Email address', 'value': current_user.email_address, 'url': url_for('.user_profile_email')}, {'label': 'Mobile number', 'value': current_user.mobile_number, 'url': url_for('.user_profile_mobile_number')}, - {'label': 'Password', 'value': 'Last changed ' + current_user.password_changed_at |format_datetime_short, 'url': url_for('.user_profile_password')}, + {'label': 'Password', 'value': 'Last changed ' + current_user.password_changed_at|format_delta, 'url': url_for('.user_profile_password')}, ], caption='Account settings', field_headings=['Setting', 'Value', 'Link to change'],