Skip to content

Commit

Permalink
[se] Move zh-SG in getFormatByCulturalStandardId
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey authored and catbasilio committed Feb 20, 2024
1 parent ad323f0 commit f204b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/NumFormat.js
Original file line number Diff line number Diff line change
Expand Up @@ -5423,10 +5423,11 @@ function setCurrentCultureInfo (LCID, decimalSeparator, groupSeparator) {
let localeStart = cultureInfo.Name.substring(0, 2);
let LCID = cultureInfo.LCID;
if ('zh' === localeStart) {
if (4 === LCID || 2052 === LCID || 30724 === LCID) {
if (4 === LCID || 2052 === LCID || 4100 === LCID || 30724 === LCID) {
// zh
// zh-Hans
// zh-CN
// zh-SG
formats = {
27: 'yyyy"年"m"月"',
28: 'm"月"d"日"',
Expand All @@ -5452,7 +5453,6 @@ function setCurrentCultureInfo (LCID, decimalSeparator, groupSeparator) {
// zh-Hant
// zh-TW
// zh-HK
// zh-SG
// zh-MO
formats = {
27: '[$-404]e/m/d',
Expand Down

0 comments on commit f204b42

Please sign in to comment.