Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/data_renderers/DateTimeRenderer",["module","exports","require","liferay!frontend-js-react-web$prop-types"],(function(e,o,r){var n;window;{Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var t=(n=r("liferay!frontend-js-react-web$prop-types"))&&n.__esModule?n:{default:n};function l({options:e,value:o}){var r,n,t,l,a,i,u;if(!o)return null;const d=themeDisplay.getLanguageId().replace("_","-"),f=(null==e?void 0:e.format)||{day:(null==e||null===(r=e.format)||void 0===r?void 0:r.day)||"numeric",hour:(null==e||null===(n=e.format)||void 0===n?void 0:n.hour)||"numeric",minute:(null==e||null===(t=e.format)||void 0===t?void 0:t.minute)||"numeric",month:(null==e||null===(l=e.format)||void 0===l?void 0:l.month)||"short",second:(null==e||null===(a=e.format)||void 0===a?void 0:a.second)||"numeric",timeZone:(null==e||null===(i=e.format)||void 0===i?void 0:i.timeZone)||"UTC",year:(null==e||null===(u=e.format)||void 0===u?void 0:u.year)||"numeric"};return new Intl.DateTimeFormat(d,f).format(new Date(o))}l.propTypes={options:t.default.shape({format:t.default.object}),value:t.default.string.isRequired};var a=l;o.default=a}}));
//# sourceMappingURL=DateTimeRenderer.js.map