From d50b4ee43bc6f9bfdc13c6b0b44d4212eb862d30 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 10 Mar 2017 11:50:34 +0300 Subject: [PATCH] [SSE] Added argument culture to asc_getFormatCells function when generate examples. --- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index c591b883d..54b5a69c9 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -761,7 +761,7 @@ define([ var info = new Asc.asc_CFormatCellsInfo(); info.asc_setType(Asc.c_oAscNumFormatType.None); info.asc_setSymbol(landId); - var arr = this.api.asc_getFormatCells(info); // all formats + var arr = this.api.asc_getFormatCells(info, landId); // all formats text = this.api.asc_getLocaleExample(arr[4], 1000.01, landId); text = text + ' ' + this.api.asc_getLocaleExample(arr[5], (new Date()).getExcelDateWithTime(), landId); text = text + ' ' + this.api.asc_getLocaleExample(arr[6], (new Date()).getExcelDateWithTime(), landId);