ywana-core8 0.0.861 → 0.0.863

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.
@@ -1069,6 +1069,7 @@ var FORMATS$1 = {
1069
1069
  DATE: 'date',
1070
1070
  DATERANGE: 'DATERANGE',
1071
1071
  TIME: 'time',
1072
+ DATETIME: 'datetime',
1072
1073
  EMAIL: 'email',
1073
1074
  HTML: 'HTML',
1074
1075
  URL: 'URL',
@@ -2163,6 +2164,16 @@ var StringCellViewer = function StringCellViewer(_ref8) {
2163
2164
  day: 'second'
2164
2165
  });
2165
2166
  break;
2167
+ case FORMATS$1.DATETIME:
2168
+ text = new Date(text).toLocaleString(locale, {
2169
+ year: 'numeric',
2170
+ month: 'numeric',
2171
+ day: 'numeric',
2172
+ hour: 'numeric',
2173
+ minute: 'numeric',
2174
+ second: 'numeric'
2175
+ });
2176
+ break;
2166
2177
  }
2167
2178
  return /*#__PURE__*/React.createElement("div", {
2168
2179
  className: "field-editor string-viewer " + className,