From a0039a2d7fd9dcc40da1355212b3ead966fbb294 Mon Sep 17 00:00:00 2001 From: Alessandro Sebastiani Date: Wed, 27 May 2020 18:14:29 +0200 Subject: [PATCH] editFormat no longer needed and caused #65 bug --- src/app/form/widgets/DateTimeReactWidget.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/form/widgets/DateTimeReactWidget.js b/src/app/form/widgets/DateTimeReactWidget.js index 17078644..08cd007a 100644 --- a/src/app/form/widgets/DateTimeReactWidget.js +++ b/src/app/form/widgets/DateTimeReactWidget.js @@ -1,4 +1,4 @@ -import React, { Component } from "react"; +import React from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; import { Field } from "redux-form"; @@ -32,8 +32,6 @@ const renderInput = field => { - let formatter = Globalize.dateFormatter({ raw: format }) - return (