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/index.js CHANGED
@@ -1276,7 +1276,7 @@ let _grouping = true;
1276
1276
  /** 缓存,为了优化性能,通常 options.decimals 都是不变的 */
1277
1277
  let _formatter = new Intl.NumberFormat('en-US', { maximumFractionDigits: 20 });
1278
1278
  /** 用来处理时差 To deal with jet lag */
1279
- let _datetime_formatter = new Intl.DateTimeFormat('zh-CN', { dateStyle: 'short', timeStyle: 'medium', timeZone: 'UTC' });
1279
+ let _datetime_formatter = new Intl.DateTimeFormat('zh-CN', { dateStyle: 'short', timeStyle: 'medium', timeZone: 'UTC', hour12: false });
1280
1280
  /** 根据 DdbType 格式化单个元素 (value) 为字符串,空值返回 'null' 字符串 Formats a single element (value) as a string according to DdbType, null returns a 'null' string */
1281
1281
  export function format(type, value, le, options = {}) {
1282
1282
  const formatter = (() => {