d2coreui 23.0.30 → 23.0.31

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.
@@ -240,7 +240,7 @@ class DataGrid extends React.Component {
240
240
  return "---";
241
241
  }
242
242
  let tooltipValue;
243
- tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true));
243
+ tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true, true));
244
244
  return React.createElement("span", { title: tooltipValue }, unixTimeToMoment(value).format(LocaleHolder.getDateFormat(!this.props.hideYear)));
245
245
  }
246
246
  else {
@@ -280,8 +280,8 @@ class DataGrid extends React.Component {
280
280
  return "Null Time";
281
281
  }
282
282
  let tooltipValue;
283
- tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true));
284
- return React.createElement("span", { title: tooltipValue }, unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds)));
283
+ tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true, true));
284
+ return React.createElement("span", { title: tooltipValue }, unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true)));
285
285
  }
286
286
  else {
287
287
  return "---";
@@ -290,7 +290,7 @@ class DataGrid extends React.Component {
290
290
  valueFormatter: (params) => {
291
291
  const value = DataGrid.getCellValue(params);
292
292
  if (value !== undefined) {
293
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
293
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
294
294
  }
295
295
  return "---";
296
296
  },
@@ -300,14 +300,14 @@ class DataGrid extends React.Component {
300
300
  filterValueGetter: (params) => {
301
301
  const value = DataGrid.getCellValue(params);
302
302
  if (value !== undefined) {
303
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
303
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
304
304
  }
305
305
  return null;
306
306
  },
307
307
  getQuickFilterText: (params) => {
308
308
  const value = DataGrid.getCellValue(params);
309
309
  if (value !== undefined) {
310
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
310
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
311
311
  }
312
312
  return "";
313
313
  }
@@ -317,7 +317,7 @@ class DataGrid extends React.Component {
317
317
  const value = DataGrid.getCellValue(params);
318
318
  if (value !== undefined) {
319
319
  let tooltipValue;
320
- tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true));
320
+ tooltipValue = unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(true, true, true, true));
321
321
  return React.createElement("span", { title: tooltipValue }, unixTimeToMoment(value).fromNow());
322
322
  }
323
323
  else {
@@ -327,7 +327,7 @@ class DataGrid extends React.Component {
327
327
  valueFormatter: (params) => {
328
328
  const value = DataGrid.getCellValue(params);
329
329
  if (value !== undefined) {
330
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
330
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
331
331
  }
332
332
  return "---";
333
333
  },
@@ -337,14 +337,14 @@ class DataGrid extends React.Component {
337
337
  filterValueGetter: (params) => {
338
338
  const value = DataGrid.getCellValue(params);
339
339
  if (value !== undefined) {
340
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
340
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
341
341
  }
342
342
  return null;
343
343
  },
344
344
  getQuickFilterText: (params) => {
345
345
  const value = DataGrid.getCellValue(params);
346
346
  if (value !== undefined) {
347
- return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds));
347
+ return unixTimeToMoment(value).format(LocaleHolder.getDateTimeFormat(!this.props.hideYear, true, this.props.showMilliseconds, true));
348
348
  }
349
349
  return "";
350
350
  }