Commit 28468d54 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 363894: Use a better date format in notifications about user account…

Bug 363894: Use a better date format in notifications about user account creation and email address change (and include the timezone too) - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=timeless a=myk
parent b695e2a6
......@@ -39,5 +39,5 @@ this request, visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
If you do nothing, the request will lapse after [%+ max_token_age %] days
(at precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
If you do nothing, the request will lapse after [%+ max_token_age %] days
(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).
......@@ -43,6 +43,6 @@ this request, visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
If you do nothing, and [%+ newemailaddress %] confirms this request, the
change will be made permanent after [%+ max_token_age %] days (at precisely
[%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
If you do nothing, and [%+ newemailaddress %] confirms this request,
the change will be made permanent after [%+ max_token_age %] days
(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).
......@@ -30,8 +30,8 @@
To complete the creation of your user account, you must choose a password in the
form below. You can also enter your real name, which is optional.<p>
If you don't fill this form before
<u>[%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]</u>, the creation
of this account will be automatically cancelled.
<u>[%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]</u>,
the creation of this account will be automatically cancelled.
</div>
<form id="confirm_account_form" method="post" action="token.cgi">
......
......@@ -42,4 +42,4 @@ this request, visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cancel_new_account
If you do nothing, the request will lapse after [%+ constants.MAX_TOKEN_AGE %] days
(at precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).
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