Merge pull request #2427 from ZBoxApp/PLT-2342
PLT-2342: Incorrect formatting of last password update string in all …
Этот коммит содержится в:
@@ -221,7 +221,11 @@ class SecurityTab extends React.Component {
|
|||||||
var d = new Date(this.props.user.last_password_update);
|
var d = new Date(this.props.user.last_password_update);
|
||||||
|
|
||||||
const hours12 = !Utils.isMilitaryTime();
|
const hours12 = !Utils.isMilitaryTime();
|
||||||
describe = formatMessage(holders.lastUpdated, {
|
describe = (
|
||||||
|
<FormattedMessage
|
||||||
|
id='user.settings.security.lastUpdated'
|
||||||
|
defaultMessage='Last updated {date} at {time}'
|
||||||
|
values={{
|
||||||
date: (
|
date: (
|
||||||
<FormattedDate
|
<FormattedDate
|
||||||
value={d}
|
value={d}
|
||||||
@@ -238,7 +242,9 @@ class SecurityTab extends React.Component {
|
|||||||
minute='2-digit'
|
minute='2-digit'
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
});
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
|
||||||
updateSectionStatus = function updateSection() {
|
updateSectionStatus = function updateSection() {
|
||||||
this.props.updateSection('password');
|
this.props.updateSection('password');
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user