Skip to content

Commit

Permalink
Merge pull request #1838 from glific/contact-history-fixes
Browse files Browse the repository at this point in the history
contact history fixes
  • Loading branch information
mdshamoon authored Jan 11, 2022
2 parents 4aef88d + d7ce547 commit 2a79594
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Button } from 'components/UI/Form/Button/Button';
import Loading from 'components/UI/Layout/Loading/Loading';
import { COUNT_CONTACT_HISTORY, GET_CONTACT_HISTORY } from 'graphql/queries/Contact';
import setLogs from 'config/logs';
import { DATE_TIME_FORMAT } from 'common/constants';
import styles from './ContactHistory.module.css';

export interface ContactHistoryProps {
Expand Down Expand Up @@ -113,7 +114,7 @@ export const ContactHistory: React.FC<ContactHistoryProps> = ({ contactId }) =>
return (
<div className={styles.DetailBlock} key={key}>
<div className={styles.LineItem}>{label}</div>
<div className={styles.LineItemDate}>{moment(insertedAt).format('D/MM/YYYY')}</div>
<div className={styles.LineItemDate}>{moment(insertedAt).format(DATE_TIME_FORMAT)}</div>
</div>
);
});
Expand Down

0 comments on commit 2a79594

Please sign in to comment.