diff --git a/src/components/Contact.tsx b/src/components/Contact.tsx index 11cf674..221230b 100644 --- a/src/components/Contact.tsx +++ b/src/components/Contact.tsx @@ -94,7 +94,7 @@ class Contact extends React.PureComponent { leftIcon: }, undefined, - ((x) => moment(x).format('dddd, LL')), + ((x: any) => moment(x.toJSDate()).format('dddd, LL')), () => 'Birthday', )); @@ -104,7 +104,7 @@ class Contact extends React.PureComponent { leftIcon: }, undefined, - ((x) => moment(x).format('dddd, LL')), + ((x: any) => moment(x.toJSDate()).format('dddd, LL')), () => 'Anniversary', ));