From d7501fcb929a49dcee1a3b3ac0f5d1cacc4eaf99 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 18 Sep 2024 16:56:56 +0300 Subject: [PATCH] [SSE] Fix bug 69521 --- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 4 ++-- .../mobile/src/controller/settings/ApplicationSettings.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 2b64e41404..01ae733f28 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -1286,8 +1286,8 @@ define([], function () { info.asc_setSymbol(landId); var arr = this.api.asc_getFormatCells(info); // all formats text = this.api.asc_getLocaleExample(arr[4], 1000.01, landId); - text = text + ' ' + this.api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(), landId); - text = text + ' ' + this.api.asc_getLocaleExample(arr[7], Asc.cDate().getExcelDateWithTime(), landId); + text = text + ' ' + this.api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(true), landId); + text = text + ' ' + this.api.asc_getLocaleExample(arr[7], Asc.cDate().getExcelDateWithTime(true), landId); } $('#fms-lbl-reg-settings').text(_.isEmpty(text) ? '' : this.strRegSettingsEx + text); } diff --git a/apps/spreadsheeteditor/mobile/src/controller/settings/ApplicationSettings.jsx b/apps/spreadsheeteditor/mobile/src/controller/settings/ApplicationSettings.jsx index 5007809945..7484786caa 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/settings/ApplicationSettings.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/settings/ApplicationSettings.jsx @@ -59,8 +59,8 @@ class ApplicationSettingsController extends Component { const arr = api.asc_getFormatCells(info); const text4 = api.asc_getLocaleExample(arr[4], 1000.01, regCode), - text5 = api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(), regCode), - text6 = api.asc_getLocaleExample(arr[7], Asc.cDate().getExcelDateWithTime(), regCode); + text5 = api.asc_getLocaleExample(arr[5], Asc.cDate().getExcelDateWithTime(true), regCode), + text6 = api.asc_getLocaleExample(arr[7], Asc.cDate().getExcelDateWithTime(true), regCode); this.props.storeApplicationSettings.setRegExample(`${text4} ${text5} ${text6}`); }