ywana-core8 0.0.862 → 0.0.864

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
@@ -129,9 +129,9 @@
129
129
  var token = securityCtx ? securityCtx.token() : null;
130
130
  return fetchAsync('PATCH', domain + URL, body, token, headers);
131
131
  },
132
- DELETE: function DELETE(URL, headers) {
132
+ DELETE: function DELETE(URL, body, headers) {
133
133
  var token = securityCtx ? securityCtx.token() : null;
134
- return fetchAsync('DELETE', domain + URL, undefined, token, headers);
134
+ return fetchAsync('DELETE', domain + URL, body, token, headers);
135
135
  }
136
136
  };
137
137
  };
@@ -2166,6 +2166,16 @@
2166
2166
  day: 'second'
2167
2167
  });
2168
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;
2169
2179
  }
2170
2180
  return /*#__PURE__*/React__default["default"].createElement("div", {
2171
2181
  className: "field-editor string-viewer " + className,