Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
5cf5f1e0
Commit
5cf5f1e0
authored
Jan 17, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Use asc_getLocaleExample2 instead of asc_getLocaleExample.
parent
f956912a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
+10
-5
No files found.
apps/spreadsheeteditor/main/app/view/FileMenuPanels.js
View file @
5cf5f1e0
...
@@ -754,11 +754,16 @@ define([
...
@@ -754,11 +754,16 @@ define([
updateRegionalExample
:
function
(
landId
)
{
updateRegionalExample
:
function
(
landId
)
{
if
(
this
.
api
)
{
if
(
this
.
api
)
{
var
text
=
(
landId
)
?
this
.
api
.
asc_getLocaleExample
(
landId
,
1000.01
,
new
Date
())
:
''
;
var
text
=
''
;
//var arr = this.api.asc_getFormatCells(null, landId); // all formats
if
(
landId
)
{
// text = this.api.asc_getLocaleExample2(arr[0], 1000.01, landId);
var
info
=
new
Asc
.
asc_CFormatCellsInfo
();
// text = text + ' ' + this.api.asc_getLocaleExample2(arr[3], new Date(), landId);
info
.
asc_setType
(
Asc
.
c_oAscNumFormatType
.
None
);
// text = text + ' ' + this.api.asc_getLocaleExample2(arr[5], new Date(), landId);
info
.
asc_setSymbol
(
landId
);
var
arr
=
this
.
api
.
asc_getFormatCells
(
info
);
// all formats
text
=
this
.
api
.
asc_getLocaleExample2
(
arr
[
2
],
1000.01
,
landId
);
text
=
text
+
'
'
+
this
.
api
.
asc_getLocaleExample2
(
arr
[
4
],
(
new
Date
()).
getExcelDateWithTime
(),
landId
);
text
=
text
+
'
'
+
this
.
api
.
asc_getLocaleExample2
(
arr
[
6
],
(
new
Date
()).
getExcelDateWithTime
(),
landId
);
}
$
(
'
#fms-lbl-reg-settings
'
).
text
(
_
.
isEmpty
(
text
)
?
''
:
this
.
strRegSettingsEx
+
text
);
$
(
'
#fms-lbl-reg-settings
'
).
text
(
_
.
isEmpty
(
text
)
?
''
:
this
.
strRegSettingsEx
+
text
);
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment