Skip to content

Commit

Permalink
Merge pull request #158 from italia/fix/65
Browse files Browse the repository at this point in the history
Fix #65
  • Loading branch information
sebbalex authored May 27, 2020
2 parents e9f4017 + a0039a2 commit 5be3631
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/form/widgets/DateTimeReactWidget.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -32,8 +32,6 @@ const renderInput = field => {



let formatter = Globalize.dateFormatter({ raw: format })

return (
<div className={className}>
<label className="control-label" htmlFor={"field-" + field.name}>
Expand All @@ -43,7 +41,6 @@ const renderInput = field => {
<DateTimePicker
{...field.input}
className="border-0"
editFormat={formatter}
time={false}
format={{ raw: format }}
required={field.required}
Expand Down

0 comments on commit 5be3631

Please sign in to comment.