@etsoo/react 1.7.14 → 1.7.16

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.
@@ -116,7 +116,7 @@ export var ReactUtils;
116
116
  const isDateTime = item.type === 'datetime-local';
117
117
  if (isDateTime || item.type === 'date') {
118
118
  item.value =
119
- (_a = DateUtils.formatForInput(value, isDateTime)) !== null && _a !== void 0 ? _a : '';
119
+ (_a = DateUtils.formatForInput(value, isDateTime ? false : undefined)) !== null && _a !== void 0 ? _a : '';
120
120
  }
121
121
  else {
122
122
  item.value = `${value !== null && value !== void 0 ? value : ''}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.7.14",
3
+ "version": "1.7.16",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,9 +50,9 @@
50
50
  "@emotion/css": "^11.11.2",
51
51
  "@emotion/react": "^11.11.1",
52
52
  "@emotion/styled": "^11.11.0",
53
- "@etsoo/appscript": "^1.4.55",
53
+ "@etsoo/appscript": "^1.4.56",
54
54
  "@etsoo/notificationbase": "^1.1.28",
55
- "@etsoo/shared": "^1.2.14",
55
+ "@etsoo/shared": "^1.2.15",
56
56
  "@types/react": "^18.2.22",
57
57
  "@types/react-dom": "^18.2.7",
58
58
  "@types/react-window": "^1.8.5",
@@ -145,7 +145,10 @@ export namespace ReactUtils {
145
145
  const isDateTime = item.type === 'datetime-local';
146
146
  if (isDateTime || item.type === 'date') {
147
147
  item.value =
148
- DateUtils.formatForInput(value, isDateTime) ?? '';
148
+ DateUtils.formatForInput(
149
+ value,
150
+ isDateTime ? false : undefined
151
+ ) ?? '';
149
152
  } else {
150
153
  item.value = `${value ?? ''}`;
151
154
  }