Skip to content

Commit

Permalink
revert(react-ui): modification sur la date
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Apr 16, 2024
1 parent 4184d8f commit 49aebdc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/react-ui/src/field/InputDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ export const InputDate = ({ value, onChange, invalid, ref, ...props }) => {
const day = splitParts[0] ?? "";
const month = splitParts[1] ?? "";
const year = splitParts[2] ?? "";
if (year.length === 2) {
return `20${year}-${month}-${day}`;
}
return `${year}-${month}-${day}`;
};

Expand Down

0 comments on commit 49aebdc

Please sign in to comment.