Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
yacosta738 authored and astrobot-houston committed Oct 8, 2024
1 parent 32c5714 commit 4169964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/role-range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import type { IRole } from '../models/Job';
export const range = (rol?: IRole, present?: string): string => {
const date = rol?.startDate ? new Date(rol.startDate) : new Date();
return `${date.toDateString()} - ${
rol?.endDate ? new Date(rol.endDate).toDateString() : present ?? 'Present'
rol?.endDate ? new Date(rol.endDate).toDateString() : (present ?? 'Present')
}`;
};

0 comments on commit 4169964

Please sign in to comment.