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.
package/dist/index.umd.js CHANGED
@@ -1071,6 +1071,7 @@
1071
1071
  DATE: 'date',
1072
1072
  DATERANGE: 'DATERANGE',
1073
1073
  TIME: 'time',
1074
+ DATETIME: 'datetime',
1074
1075
  EMAIL: 'email',
1075
1076
  HTML: 'HTML',
1076
1077
  URL: 'URL',
@@ -2165,6 +2166,16 @@
2165
2166
  day: 'second'
2166
2167
  });
2167
2168
  break;
2169
+ case FORMATS$1.DATETIME:
2170
+ text = new Date(text).toLocaleString(locale, {
2171
+ year: 'numeric',
2172
+ month: 'numeric',
2173
+ day: 'numeric',
2174
+ hour: 'numeric',
2175
+ minute: 'numeric',
2176
+ second: 'numeric'
2177
+ });
2178
+ break;
2168
2179
  }
2169
2180
  return /*#__PURE__*/React__default["default"].createElement("div", {
2170
2181
  className: "field-editor string-viewer " + className,