Files
twenty/front/src/modules/ui/inplace-inputs/components/InplaceInputDateDisplayMode.tsx
Lucas Bordeau be21392737 Feat/company card fields (#686)
* wip

* Ok

* asd

* Fixed cancel submit

* Renamed

* Fixed
2023-07-15 19:17:31 -07:00

10 lines
231 B
TypeScript

import { formatToHumanReadableDate } from '@/utils/utils';
type OwnProps = {
value: Date;
};
export function InplaceInputDateDisplayMode({ value }: OwnProps) {
return <div>{value && formatToHumanReadableDate(value)}</div>;
}