diff --git a/apps/documenteditor/mobile/src/controller/settings/DocumentInfo.jsx b/apps/documenteditor/mobile/src/controller/settings/DocumentInfo.jsx
index 32ea95c37..8b07ba134 100644
--- a/apps/documenteditor/mobile/src/controller/settings/DocumentInfo.jsx
+++ b/apps/documenteditor/mobile/src/controller/settings/DocumentInfo.jsx
@@ -36,13 +36,13 @@ class DocumentInfoController extends Component {
console.log(docProps);
if (valueModified) {
return (
- valueModified.toLocaleString(_lang, {
+ valueModified.toLocaleString('en', {
year: "numeric",
month: "2-digit",
day: "2-digit",
}) +
" " +
- valueModified.toLocaleTimeString(_lang, { timeStyle: "short" })
+ valueModified.toLocaleTimeString('en', { timeStyle: "short" })
);
}
}
@@ -53,8 +53,7 @@ class DocumentInfoController extends Component {
if (docProps) {
let valueModifiedBy = docProps.asc_getLastModifiedBy();
if (valueModifiedBy) {
- // return Common.Utils.UserInfoParser.getParsedName(valueModifiedBy);
- return valueModifiedBy;
+ return Common.Utils.UserInfoParser.getParsedName(valueModifiedBy);
}
}
}
diff --git a/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx b/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
index 7150ae6c0..3e7c5cf7e 100644
--- a/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
+++ b/apps/documenteditor/mobile/src/view/settings/DocumentInfo.jsx
@@ -1,4 +1,4 @@
-import React from "react";
+import React, {Fragment} from "react";
import { observer, inject } from "mobx-react";
import { Page, Navbar, List, ListItem, BlockTitle } from "framework7-react";
import { useTranslation } from "react-i18next";
@@ -52,7 +52,7 @@ const PageDocumentInfo = (props) => {
{dataModified && dataModifiedBy ? (
-
+
{_t.textLastModified}
@@ -61,15 +61,15 @@ const PageDocumentInfo = (props) => {
-
+
) : null}
{dataApp ? (
-
+
{_t.textApplication}
-
+
) : null}
);