UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

19 lines 730 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EMPTY_DATE_VALUE = exports.gxToLibLangMapping = void 0; let gxToLibLangMapping = (gxlang) => { let gxtoluxonLang = new Map([ ["spa", "es"] /* Spanish*/, ["eng", "en"] /* English*/, ["por", "pt"] /* Portuguese*/, ["ita", "it"] /* Italian*/, ["chs", "zh-Hans"] /* Simplified Chinese*/, ["cht", "zh-Hant"] /* Traditional Chinese*/, ["jap", "jpn"] /* Japanese*/ ]); let luxonLang = gxtoluxonLang.get(gxlang); return luxonLang || "en"; }; exports.gxToLibLangMapping = gxToLibLangMapping; exports.EMPTY_DATE_VALUE = new Date(0, 0, 0, 0, 0, 0, 0); //# sourceMappingURL=core.js.map