@topconsultnpm/sdkui-react-beta 6.5.72 → 6.5.73

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.
@@ -62,17 +62,9 @@ const TMDateBox = (props) => {
62
62
  return;
63
63
  if (!e.value)
64
64
  return;
65
- const currentType = getType();
66
- if (currentType !== 'datetime') {
67
- const currentDate = new Date(e.value);
68
- currentDate.setHours(0, 0, 0, 0);
69
- e.component.option("value", currentDate.toISOString());
70
- }
71
- else {
72
- // If type is 'datetime', get the hours from the input value
73
- const newValue = new Date(e.value);
74
- e.component.option("value", newValue.toISOString());
75
- }
65
+ const currentDate = new Date(e.value);
66
+ currentDate.setHours(0, 0, 0, 0);
67
+ e.component.option("value", currentDate.toISOString());
76
68
  } }), _jsx(TMVilViewer, { vil: props.validationItems })] }));
77
69
  };
78
70
  export default TMDateBox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.5.72",
3
+ "version": "6.5.73",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",