Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/data_renderers/InputDateTimeRenderer",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a("@frontend-taglib-clay$clayui/form"),r=(l(a("liferay!frontend-js-react-web$prop-types")),l(a("liferay!frontend-js-react-web$react")));function l(e){return e&&e.__esModule?e:{default:e}}var o=function({updateItem:e,value:t}){const a=t?function(e){const t=new Date(e);return t.getFullYear()+"-"+"0".concat(t.getMonth()+1).slice(-2)+"-"+"0".concat(t.getDate()).slice(-2)+"T"+"0".concat(t.getHours()).slice(-2)+":"+"0".concat(t.getMinutes()).slice(-2)}(t):"";return r.default.createElement(n.ClayInput.Group,{small:!0},r.default.createElement(n.ClayInput.GroupItem,null,r.default.createElement(n.ClayInput,{onChange:t=>{const a=new Date(t.target.value).toISOString().split(".")[0]+"Z";e(a)},type:"datetime-local",value:a})))};t.default=o}}));
//# sourceMappingURL=InputDateTimeRenderer.js.map