Skip to content

Commit

Permalink
Show an exact assignment expiration time (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzeranov authored Sep 24, 2024
1 parent e5f3330 commit 9553ac3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { parseISO, format } from 'date-fns';

export const formatDate = (dateString: string) => {
const parsedDate = parseISO(dateString);
return format(parsedDate, 'yyyy-MM-dd');
return format(parsedDate, 'yyyy-MM-dd HH:mm:ss');
};

0 comments on commit 9553ac3

Please sign in to comment.