Skip to content

Commit

Permalink
Update src/Utils/utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Feb 7, 2024
1 parent fe5c0b4 commit d0e0773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const relativeDate = (date: DateLike, withoutSuffix = false) => {
const obj = dayjs(date);
return `${obj.fromNow(withoutSuffix)}${
withoutSuffix ? " ago " : ""
}at ${obj.format(TIME_FORMAT)}`;
} at ${obj.format(TIME_FORMAT)}`;
};

export const formatName = (user: { first_name: string; last_name: string }) => {
Expand Down

0 comments on commit d0e0773

Please sign in to comment.