Skip to content

Commit

Permalink
fix: Fix formatDateIntl types
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Jan 19, 2024
1 parent acbe493 commit 8ab2f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/shared/date-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const availableLocales = [
];

export function formatDateIntl(
dateTimeOrString: Date | DateTime | string,
dateTimeOrString: Date | DateTime | string | null | undefined,
format: DateTimeFormatOptions | string = DateTime.DATETIME_MED,
locale?: string
): string {
Expand Down

0 comments on commit 8ab2f94

Please sign in to comment.