dolphindb 2.0.1130 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser.js +1 -1
- package/browser.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/language.js +1 -0
- package/language.js.map +1 -1
- package/package.json +7 -7
package/browser.js
CHANGED
|
@@ -1275,7 +1275,7 @@ let _grouping = true;
|
|
|
1275
1275
|
/** 缓存,为了优化性能,通常 options.decimals 都是不变的 Cache, in order to optimize performance, usually options.decimals are unchanged */
|
|
1276
1276
|
let _formatter = new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 });
|
|
1277
1277
|
/** 用来处理时差 To deal with jet lag */
|
|
1278
|
-
let _datetime_formatter = new Intl.DateTimeFormat('zh-CN', { dateStyle: 'short', timeStyle: 'medium', timeZone: 'UTC' });
|
|
1278
|
+
let _datetime_formatter = new Intl.DateTimeFormat('zh-CN', { dateStyle: 'short', timeStyle: 'medium', timeZone: 'UTC', hour12: false });
|
|
1279
1279
|
/** 根据 DdbType 格式化单个元素 (value) 为字符串 Formats a single element (value) as a string according to DdbType, null returns a 'null' string */
|
|
1280
1280
|
export function format(type, value, le, options = {}) {
|
|
1281
1281
|
const { nullstr = false, colors = false, quote = false, grouping = true } = options;
|